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
html-blockquotes
html-codehighlighter
html-core fix: remove excess div wrappers (#4528) 2021-10-09 14:09:54 -04:00
html-diagram
html-image-prefetch
html-mediaplayers
html-mermaid
html-security
html-tabset
html-twemoji
markdown-abbr
markdown-core
markdown-emoji
markdown-expandtabs
markdown-footnotes
markdown-imsize
markdown-katex
markdown-kroki
markdown-mathjax
markdown-multi-table
markdown-plantuml
markdown-supsub
markdown-tasklists
openapi-core