<h4>Headline H4</h4>
<p>some paragraph some paragraph some paragraph some paragraph some paragraph some paragraph some paragraph some paragraph</p>
<p>second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph</p>
no paragraph just text no paragraph just textno paragraph just textno paragraph just textno paragraph just textno paragraph just text
another line of text another line of text another line of text another line of text another line of text another line of text
This results in the following content in the database. The original and intended HTML gets transformed to HTML-Entities with <
and >
, and then the additonal parsing adds <p>
and <br/>
to the content!
<t><p><h4>Headline H4</h4><br/>
<p>some paragraph some paragraph some paragraph some paragraph some paragraph some paragraph some paragraph some paragraph</p><br/>
<p>second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph second paragraph</p></p>
<p>no paragraph just text no paragraph just textno paragraph just textno paragraph just textno paragraph just textno paragraph just text</p>
<p>another line of text another line of text another line of text another line of text another line of text another line of text</p></t>
When rendered out, the HTML-Entities get transformed back to HTML-Tags, but the added Tags are not removed which leads to nested <p>
-Pargraphs and additonal <br/>
-Tags.
Flarum core 1.1.1
PHP version: 7.4.3
MySQL version: 8.0.27-0ubuntu0.20.04.1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, imagick, json, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache
+--------------------------------------+----------+------------------------------------------+
| Flarum Extensions | | |
+--------------------------------------+----------+------------------------------------------+
| ID | Version | Commit |
+--------------------------------------+----------+------------------------------------------+
| flarum-flags | v1.1.0 | |
| flarum-bbcode | v1.1.0 | |
| flarum-suspend | v1.1.0 | |
| flarum-approval | v1.1.0 | |
| flarum-tags | v1.1.0 | |
| fof-formatting | 1.0.2 | |
| wolfgang-demeter-bbcode-5star-rating | dev-main | aa314c8fd20d97e5c4d003071c9c67e94f6f0d83 |
| fof-user-bio | 1.0.1 | |
| fof-upload | 1.0.7 | |
| fof-terms | 1.1.2 | |
| fof-split | 1.0.1 | |
| fof-socialprofile | 1.1.1 | |
| fof-recaptcha | 1.0.0 | |
| fof-pages | 1.0.1 | |
| fof-merge-discussions | 1.1.1 | |
| fof-links | 1.0.3 | |
| fof-byobu | 1.1.0 | |
| fof-amazon-affiliation | 1.0.1 | |
| flarum-subscriptions | v1.1.0 | |
| flarum-sticky | v1.1.0 | |
| flarum-statistics | v1.1.0 | |
| flarum-nicknames | v1.1.0 | |
| flarum-mentions | v1.1.3 | |
| flarum-markdown | v1.1.1 | |
| flarum-lock | v1.1.0 | |
| flarum-likes | v1.1.0 | |
| flarum-lang-german | 1.1.4 | |
| flarum-lang-english | v1.1.0 | |
| askvortsov-auto-moderator | v0.1.2 | |
| antoinefr-bbcode-fa | v1.0.0 | |
+--------------------------------------+----------+------------------------------------------+
Base URL: https://dev.dvdnarr.com
Installation path: /var/www/dvdnarr.com/flarum
Queue driver: sync
Mail driver: smtp
Debug mode: ON