Skip to content

Commit

Permalink
Cleaned up code, fixed lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Metropass committed Feb 19, 2021
1 parent b67a6d9 commit b403938
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion package.json
Expand Up @@ -82,7 +82,6 @@
"body-parser": "1.19.0",
"bull": "3.20.1",
"bull-board": "1.3.1",
"clean-whitespace": "0.1.2",
"connect-redis": "5.1.0",
"cors": "2.8.5",
"date-fns": "2.17.0",
Expand Down
3 changes: 0 additions & 3 deletions src/backend/utils/html/index.js
Expand Up @@ -4,7 +4,6 @@ const fixIFrameWidth = require('./fix-iframe-width');
const lazyLoad = require('./lazy-load');
const syntaxHighlight = require('./syntax-highlight');
const replaceCodeEntities = require('./replace-entities');
const emptyParagraph = require('./remove-empty-paragraphs');
const fixEmptyPre = require('./modify-pre');
const toDOM = require('./dom');

Expand Down Expand Up @@ -43,8 +42,6 @@ module.exports = function process(html) {
lazyLoad(dom);
// Replace <code> elements with encoded entities to use characters
replaceCodeEntities(dom);
// Removes spaces, tabs and any "clear" characters in a paragraph
emptyParagraph(dom);

// Return the resulting HTML
return dom.window.document.body.innerHTML;
Expand Down

0 comments on commit b403938

Please sign in to comment.