Skip to content

Do not decode HTML entities

Pre-release
Pre-release
Compare
Choose a tag to compare
@zarathustra323 zarathustra323 released this 03 Apr 14:17
· 46 commits to master since this release

Ensures that embedded images (and the like) do not break.

When decoding, an embed would be incorrectly processed as:

<center>%{[ data-embed-type=&quot;image&quot; data-embed-id=&quot;5c9cebaadad15fb329dd5219&quot; data-embed-element=&quot;aside&quot; contenteditable=&quot;false&quot; ]}%</center>

When decoding is disabled, the embed is processed as expected:

<center>%{[ data-embed-type="image" data-embed-id="5c9cebaadad15fb329dd5219" data-embed-element="aside" contenteditable="false" ]}%</center>

This holds true for other HTML entities that are always being decoded by Base.