diff --git a/CHANGELOG.md b/CHANGELOG.md index bd4340c1b..34232019b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ Web UI version numbers should always match the corresponding version of LBRY App ## [Unreleased] ### Added - * + * Support markdown makeup in claim description * ### Changed diff --git a/ui/js/page/filePage/view.jsx b/ui/js/page/filePage/view.jsx index 9c8095d56..3ea2c8435 100644 --- a/ui/js/page/filePage/view.jsx +++ b/ui/js/page/filePage/view.jsx @@ -1,4 +1,5 @@ import React from "react"; +import ReactMarkdown from "react-markdown"; import lbry from "lbry.js"; import lbryuri from "lbryuri.js"; import Video from "component/video"; @@ -121,7 +122,9 @@ class FilePage extends React.PureComponent {
- {metadata && metadata.description} +
{metadata diff --git a/ui/package.json b/ui/package.json index b7f011ffd..276a96b60 100644 --- a/ui/package.json +++ b/ui/package.json @@ -31,6 +31,7 @@ "rc-progress": "^2.0.6", "react": "^15.4.0", "react-dom": "^15.4.0", + "react-markdown": "^2.5.0", "react-modal": "^1.5.2", "react-redux": "^5.0.3", "redux": "^3.6.0",