Skip to content

Releases: s9e/TextFormatter

0.10.0 (2017-07-03)

03 Jul 12:46
0.10.0
Compare
Choose a tag to compare

⚠️ This release contains API changes. See docs/Internals/API_changes.md for a description. ⚠️

Full commit log

Added

  • 438497a86 MediaEmbed: added support for new Twitch Clips URLs
  • e12a63653 TemplateParser: added support for namespaces

Removed

  • f0a1b6589 Censor: removed Helper::reparse()
  • 023d2f1a7 Tag: removed setSortPriority()

Fixed

  • 51fce5c9d Censor: fixed an issue with special characters in censorHtml()

Changed

  • 5390c3af6 BBCodes: updated default spoiler BBCode
  • 80e813320 MediaEmbed: updated Audiomack
  • af3c2e758 MediaEmbed: updated audioBoom
  • 3e32c86eb MediaEmbed: updated vidme

0.9.6 (2017-05-10)

10 May 19:38
0.9.6
Compare
Choose a tag to compare

Full commit log

Added

  • dc754f8d9 BBCodeMonkey: added support for setting nestingLimit and tagLimit in definitions
  • c6edaf190 BuiltInFilters: added support for PHP 7.2
  • 739fa2ee9 HotnameList: added support for PHP 7.2
  • bd9a5d697 XPathConvertor: added support for PHP 7.2

Removed

  • 07abb3413 MediaEmbed: removed the authoritative part of SoundCloud URLs used as id

Fixed

  • ed780e3b9 FixUnescapedCurlyBracesInHtmlAttributes: fixed an issue where properly escaped braces would get incorrectly escaped again

Changed

  • 7d7e16ebf FixUnescapedCurlyBracesInHtmlAttributes: improved support for HTML attributes that end with an odd number of left braces
  • 76b806e92 HTMLElements: updated list of URL attributes
  • 6aba111ff MediaEmbed: systematically scrape track_id from SoundCloud URLs
  • 935381522 MediaEmbed: updated BBC News
  • d8f6c0573 MediaEmbed: updated Pinterest to exclude "explore" links

0.9.5 (2017-04-22)

22 Apr 05:12
0.9.5
Compare
Choose a tag to compare

Full commit log

Added

  • 3159fe96a XPathHelper: added support for ints and floats in export()

Fixed

  • 284b4e08e FoldArithmeticConstants: fixed an issue with number formatting in non-C locales
  • 65f5721d4 Parser: fixed an unbounded loop that can occur when a tag closes an ancestor with a worse priority

Changed

  • cd0a160b3 FoldArithmeticConstants: improved the parsing of decimal and negative numbers
  • 82abeb20c Parser: do not apply closeAncestor/closeParent rules if maxFixingCost has been reached to mitigate against unbounded loops
  • a8abcf6dd Parser: tweaked regexp for performance
  • b7ba9e117 XPathHelper: improved detection of numerical expressions

0.9.4 (2017-04-07)

07 Apr 10:08
0.9.4
Compare
Choose a tag to compare

Full commit log

Fixed

  • a1b60abf9 TemplateInspector: fixed an issue where templates with a mixed content model would not allow any children

Changed

  • 4ebc635ce FixUnescapedCurlyBracesInHtmlAttributes: escape left braces that are not followed by a right brace
  • 3a3577129 MediaEmbed: updated Youku
  • 9e1197ae1 TemplateNormalizer: replaced the way iterations are counted

0.9.3 (2017-03-27)

27 Mar 08:27
0.9.3
Compare
Choose a tag to compare

Full commit log

Added

  • 10d67eec1 MediaEmbed: added livestreaming tag
  • 5e9de5cda MediaEmbed: added support for ABC News embed URLs

Fixed

  • ea80c9deb OptimizeChoose: fixed an issue where xsl:choose elements could be improperly repositioned

Changed

  • f44d2dede MediaEmbed: accept uppercase schemes in IGN
  • 1356d05e8 MediaEmbed: accept uppercase schemes in SoundCloud
  • 231d1bc0e MediaEmbed: updated Google Sheets
  • 1041b3e88 MediaEmbed: updated Oddshot
  • d8ed8bf40 MediaEmbed: updated TinyPic
  • b14e5abb4 MediaEmbed: updated Twitch

0.9.2 (2017-02-11)

11 Feb 12:49
0.9.2
Compare
Choose a tag to compare

Full commit log

Added

  • 72091c2c4 Autoimage: added support for more punctuations
  • 4f9aa8bcd Autovideo: added support for more punctuations
  • 18c63cea7 MediaEmbed: added support for attribution links from YouTube
  • 8bbb9b089 MediaEmbed: added support for new share links from YouTube
  • 4f5475ffe TemplateInspector: added isIframe()

Changed

  • d3f9ae424 BBCodeMonkey: allow newlines in {TEXT} used in composite attributes
  • e52087874 EnforceContentModels: limit content fallback to single iframes
  • 31f46d6cb MediaEmbed: updated Twitch
  • 8d0d4a82a MediaEmbed: updated vidme
  • 6d678d75b TemplateInspector: elements with "display:none" won't be considered block elements

0.9.1 (2017-01-22)

22 Jan 17:13
0.9.1
Compare
Choose a tag to compare

Full commit log

Added

  • 1f4c52189 BBCodeMonkey: added support for flexible whitespace in composite attributes
  • 22566a0a1 BBCodes: added TBODY and THEAD to the repository
  • a8114878c PHP renderer generators: added support for @* in conditions

Changed

  • f36db2024 BBCodeMonkey: TEXT and ANYTHING tokens don't have to consume any text in composite attributes
  • 3d7542c72 Parser: create tags generated by a fosterParent rule at the first available non-whitespace position
  • b241fbd2d Parser: remove empty tag pairs, including those with attributes
  • 0031b5fa0 Parser: trim whitespace when adding a magic end tag if the current tag ignores whitespace
  • e8bcaed06 Parser: trim whitespace when closing multiple tags if any of them ignores whitespace

0.9.0 (2017-01-15)

15 Jan 10:16
0.9.0
Compare
Choose a tag to compare

⚠️ This release contains API changes. See docs/Internals/API_changes.md for a description. ⚠️

Full commit log

Added

  • 8a25af9fa FixUnescapedCurlyBracesInHtmlAttributes: added more JavaScript-related replacements
  • acdd16962 MediaEmbed: added support for Gifs.com
  • 42f549035 MediaEmbed: added support for Pinterest

Removed

  • 25f2c231a Removed the custom autoloader

Fixed

  • 382b31df3 RegexpParser: fixed incorrect unanchored pattern
  • ecf1d71e4 Utils: fixed raw newlines in replaceAttributes()

Changed

  • bd3e3edce Autolink: simplified parentheses matching
  • 842b02716 JavaScript: do not replace the s9e object if it already exists
  • 19c33a310 JavaScript\ConfigOptimizer: do not deduplicate empty arrays and dictionaries
  • caf68b1cf MediaEmbed: updated Podbean
  • 9deb2f725 MediaEmbed: updated WSHH
  • d8623b088 RegexpParser: anchored bracket matching pattern as a precaution
  • f5f494fc7 TemplateForensics: renamed to TemplateInspector
  • 2f57d0383 TemplateInspector: replaced "self" type hints with "TemplateInspector"
  • 20c5ed80f Utils: normalize control characters in replaceAttributes()

0.8.5 (2016-12-11)

11 Dec 00:04
0.8.5
Compare
Choose a tag to compare

0.8.5 (2016-12-11)

Full commit log

Added

  • e2910c4b1 FancyPants: added =/= as an alias for the not-equal sign
  • a9a2f2fa2 FancyPants: added support for toggling groups of replacements
  • d8644729c FancyPants: added support for vulgar fractions
  • 5bc811858 PipeTables: added support for empty cells

Changed

  • ff0e5cf03 Emoji: updated aliases and changed JavaScript regexp to lowercase
  • fcbe4f120 MediaEmbed: updated IMDb
  • e7ad9f604 PipeTables: improved the priority of table tags
  • 9c4eff9ab Updated composer.json with dev dependencies
  • 92f61dc74 XSLT: force HTML attributes to use double quotes

0.8.4 (2016-11-22)

22 Nov 20:11
0.8.4
Compare
Choose a tag to compare

0.8.4 (2016-11-22)

Full commit log

Added

  • 29dd2ca78 Added #fontfamily attribute filter
  • 008025df4 Added PipeTables plugin
  • d62d30a89 BBCodes: added align attribute to TD and TH
  • f7da8cd9c Fatdown: added PipeTables
  • 1b2a9b28f MediaEmbed: added support for MLB.com
  • ba6ce5e2d MediaEmbed: added support for Twitch clips
  • fffd95cde MediaEmbed: added support for the new NHL video site

Fixed

  • 3b3731fe6 FontfamilyFilter: fixed consecutive quoted strings

Changed

  • 88bbafc3f AttributeFilters: reorganized how each filter sets its own safeness
  • f911748d3 BBCodes: disabled paragraphs inside [TD] and [TH]
  • 71c0fe828 BBCodes: updated default [font]
  • 8620a49e3 ClosureCompiler: updated externs
  • 85f6f41bb HashmapFilter: reorganized code. No functional change
  • 5d2eea951 Litedown: improved the priority of QUOTE start tags
  • ffde5aa2e MediaEmbed: updated BBC News
  • f4c750adc MediaEmbed: updated Facebook
  • 06658f1b3 MediaEmbed: updated IMDb
  • ce1b411d7 MediaEmbed: updated SoundCloud. No functional change
  • 507fcbddd MediaEmbed: updated Spotify
  • 8a486df0d Parser: addTagPair() now sets the priority of the end tag to minus the given value
  • 7db413b19 Parser: invalidate tags that are skipped
  • c5d2dbece RegexpFilter: reorganized code slightly
  • f72332402 Ruleset: clear() should reset defaultChildRule and defaultDescendantRule rather than remove them