Skip to content

Latest commit

 

History

History
74 lines (42 loc) · 1.63 KB

CHANGELOG.md

File metadata and controls

74 lines (42 loc) · 1.63 KB

0.6.0

  • Add ImageURLFilter match img to replace with rules like (imageproxy, Ban URL, Thumb version ...).
  • Add ExternalLinkFilter to match external links to add rel="nofollow", target="_blank".
  • Deprecated ImageProxyFilter, please use ImageURLFilter.

0.5.0

0.4.2

  • Ensure to remove HTML Tag for avoid XSS in plain mode.

0.4.1

  • Fix PlainPipeline to use text output for avoid html in plain.

0.4.0

  • Add NewPlainPipeline for render plain text mode.

0.3.2

  • Fix output unescape will break html attribute value error.

Before:

in = `<object props="{&quot;url&quot;: &quot;https://example.com/a.jpg&quot;}">We don't like 'escape'</object>`
out = `<object props="{"url": "https://example.com/a.jpg"}">We don't like 'escape'</object>`

After

in = `<object props="{&quot;url&quot;: &quot;https://example.com/a.jpg&quot;}">We don't like 'escape'</object>`
out = `<object props="{&#34;url&#34;: &#34;https://example.com/a.jpg&#34;}">We don't like 'escape'</object>`

0.3.1

  • Fix filter result without escape string.

    0.3.0


  • Add AutoCorrectFilter;

    0.2.2


  • Fix SimpleFormatFilter to remove \n;

    0.2.1


  • Fix MentionFilter for twice use;

    0.2.0


  • Add MentionFilter;

  • Add HTMLEscapeFilter;

    0.1.0


  • First release.