Skip to content

Commit

Permalink
Merge pull request #3863 from steemit/fix_typro
Browse files Browse the repository at this point in the history
fix typro
  • Loading branch information
zhang0125 authored Aug 6, 2021
2 parents a7ac22e + 232e170 commit a0b055b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/app/components/cards/MarkdownViewer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ class MarkdownViewer extends Component {
}

let renderedText = html ? text : renderer.render(text);
console.log(renderedText);
// If content isn't wrapped with an html element at this point, add it.
if (!renderedText.indexOf('<html>') !== 0) {
renderedText = '<html>' + renderedText + '</html>';
Expand All @@ -110,7 +109,6 @@ class MarkdownViewer extends Component {
// Complete removal of javascript and other dangerous tags..
// The must remain as close as possible to dangerouslySetInnerHTML
let cleanText = renderedText;
console.log(cleanText);
if (this.props.allowDangerousHTML === true) {
console.log('WARN\tMarkdownViewer rendering unsanitized content');
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/app/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@
"many_followers": "%(count)s Followers",
"many_posts": "%(count)s Posts",
"search_history": "History",
"announcement": "Announcement"
"announcement": "Announcements"
},
"navigation": {
"about": "About Steemit, Inc.",
Expand Down

0 comments on commit a0b055b

Please sign in to comment.