wikijs-fork/server/modules/rendering
broxen 12aef93cd6
fix: remove excess div wrappers (#4528)
* Removing superfluous div wrapping

It seems like standalone text is already wrapped in paragraph elements, so this code seems superfluous. Additionally, it adds div wrappers at every line break as described in #4524

* Fix for newlines and returns

This change skips newlines and returns to focus on unbounded text only.

* misc: fix indentation

* misc: fix indentation (2)

Co-authored-by: Nicolas Giard <github@ngpixel.com>
2021-10-09 14:09:54 -04:00
..
html-asciinema fix: admin rendering UI + dark mode 2019-08-04 23:53:21 -04:00
html-blockquotes fix: admin rendering UI + dark mode 2019-08-04 23:53:21 -04:00
html-codehighlighter feat: rendering security module 2019-12-11 23:36:19 -05:00
html-core fix: remove excess div wrappers (#4528) 2021-10-09 14:09:54 -04:00
html-diagram feat: diagram rendering + post-processor (wip) 2020-07-12 15:58:45 -04:00
html-image-prefetch refactor: server code (#2545) 2020-10-14 11:16:27 -04:00
html-mediaplayers fix: missing footnote module in markdown editor preview 2020-03-28 14:28:08 -04:00
html-mermaid fix: enable mermaid by default 2020-03-29 20:59:35 -04:00
html-security fix: security html module removes allow attribute from iframes (#2354) 2020-09-13 13:55:32 -04:00
html-tabset fix: use semver for latest version check 2020-05-11 00:09:10 -04:00
html-twemoji fix: html rendering order param + decodeEntities 2020-01-03 01:07:29 -05:00
markdown-abbr fix: admin rendering UI + dark mode 2019-08-04 23:53:21 -04:00
markdown-core refactor: server code (#2545) 2020-10-14 11:16:27 -04:00
markdown-emoji feat: comments disqus + commento 2020-05-21 00:20:57 -04:00
markdown-expandtabs fix: admin rendering UI + dark mode 2019-08-04 23:53:21 -04:00
markdown-footnotes fix: admin rendering UI + dark mode 2019-08-04 23:53:21 -04:00
markdown-imsize fix: admin rendering UI + dark mode 2019-08-04 23:53:21 -04:00
markdown-katex feat: mathjax markdown module 2020-04-29 22:32:03 -04:00
markdown-kroki fix: revert refactor in markdown-kroki and plantuml modules (#2619) 2020-10-25 23:26:55 -04:00
markdown-mathjax feat: mathjax markdown module 2020-04-29 22:32:03 -04:00
markdown-multi-table feat: support MultiMarkdown tables (#2126) 2020-07-03 17:46:07 -04:00
markdown-plantuml fix: revert refactor in markdown-kroki and plantuml modules (#2619) 2020-10-25 23:26:55 -04:00
markdown-supsub fix: superscript typo in module definition.yml (#2577) 2020-11-01 13:08:04 -05:00
markdown-tasklists fix: admin rendering UI + dark mode 2019-08-04 23:53:21 -04:00
openapi-core feat: delete a user 2019-12-22 16:08:18 -05:00