Releases: s9e/TextFormatter
Releases · s9e/TextFormatter
0.10.0 (2017-07-03)
Added
438497a86
MediaEmbed: added support for new Twitch Clips URLse12a63653
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 BBCode80e813320
MediaEmbed: updated Audiomackaf3c2e758
MediaEmbed: updated audioBoom3e32c86eb
MediaEmbed: updated vidme
0.9.6 (2017-05-10)
Added
dc754f8d9
BBCodeMonkey: added support for setting nestingLimit and tagLimit in definitionsc6edaf190
BuiltInFilters: added support for PHP 7.2739fa2ee9
HotnameList: added support for PHP 7.2bd9a5d697
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 braces76b806e92
HTMLElements: updated list of URL attributes6aba111ff
MediaEmbed: systematically scrape track_id from SoundCloud URLs935381522
MediaEmbed: updated BBC Newsd8f6c0573
MediaEmbed: updated Pinterest to exclude "explore" links
0.9.5 (2017-04-22)
Added
3159fe96a
XPathHelper: added support for ints and floats in export()
Fixed
284b4e08e
FoldArithmeticConstants: fixed an issue with number formatting in non-C locales65f5721d4
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 numbers82abeb20c
Parser: do not apply closeAncestor/closeParent rules if maxFixingCost has been reached to mitigate against unbounded loopsa8abcf6dd
Parser: tweaked regexp for performanceb7ba9e117
XPathHelper: improved detection of numerical expressions
0.9.4 (2017-04-07)
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 brace3a3577129
MediaEmbed: updated Youku9e1197ae1
TemplateNormalizer: replaced the way iterations are counted
0.9.3 (2017-03-27)
Added
10d67eec1
MediaEmbed: added livestreaming tag5e9de5cda
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 IGN1356d05e8
MediaEmbed: accept uppercase schemes in SoundCloud231d1bc0e
MediaEmbed: updated Google Sheets1041b3e88
MediaEmbed: updated Oddshotd8ed8bf40
MediaEmbed: updated TinyPicb14e5abb4
MediaEmbed: updated Twitch
0.9.2 (2017-02-11)
Added
72091c2c4
Autoimage: added support for more punctuations4f9aa8bcd
Autovideo: added support for more punctuations18c63cea7
MediaEmbed: added support for attribution links from YouTube8bbb9b089
MediaEmbed: added support for new share links from YouTube4f5475ffe
TemplateInspector: added isIframe()
Changed
d3f9ae424
BBCodeMonkey: allow newlines in {TEXT} used in composite attributese52087874
EnforceContentModels: limit content fallback to single iframes31f46d6cb
MediaEmbed: updated Twitch8d0d4a82a
MediaEmbed: updated vidme6d678d75b
TemplateInspector: elements with "display:none" won't be considered block elements
0.9.1 (2017-01-22)
Added
1f4c52189
BBCodeMonkey: added support for flexible whitespace in composite attributes22566a0a1
BBCodes: added TBODY and THEAD to the repositorya8114878c
PHP renderer generators: added support for @* in conditions
Changed
f36db2024
BBCodeMonkey: TEXT and ANYTHING tokens don't have to consume any text in composite attributes3d7542c72
Parser: create tags generated by a fosterParent rule at the first available non-whitespace positionb241fbd2d
Parser: remove empty tag pairs, including those with attributes0031b5fa0
Parser: trim whitespace when adding a magic end tag if the current tag ignores whitespacee8bcaed06
Parser: trim whitespace when closing multiple tags if any of them ignores whitespace
0.9.0 (2017-01-15)
Added
8a25af9fa
FixUnescapedCurlyBracesInHtmlAttributes: added more JavaScript-related replacementsacdd16962
MediaEmbed: added support for Gifs.com42f549035
MediaEmbed: added support for Pinterest
Removed
25f2c231a
Removed the custom autoloader
Fixed
382b31df3
RegexpParser: fixed incorrect unanchored patternecf1d71e4
Utils: fixed raw newlines in replaceAttributes()
Changed
bd3e3edce
Autolink: simplified parentheses matching842b02716
JavaScript: do not replace the s9e object if it already exists19c33a310
JavaScript\ConfigOptimizer: do not deduplicate empty arrays and dictionariescaf68b1cf
MediaEmbed: updated Podbean9deb2f725
MediaEmbed: updated WSHHd8623b088
RegexpParser: anchored bracket matching pattern as a precautionf5f494fc7
TemplateForensics: renamed to TemplateInspector2f57d0383
TemplateInspector: replaced "self" type hints with "TemplateInspector"20c5ed80f
Utils: normalize control characters in replaceAttributes()
0.8.5 (2016-12-11)
0.8.5 (2016-12-11)
Added
e2910c4b1
FancyPants: added =/= as an alias for the not-equal signa9a2f2fa2
FancyPants: added support for toggling groups of replacementsd8644729c
FancyPants: added support for vulgar fractions5bc811858
PipeTables: added support for empty cells
Changed
ff0e5cf03
Emoji: updated aliases and changed JavaScript regexp to lowercasefcbe4f120
MediaEmbed: updated IMDbe7ad9f604
PipeTables: improved the priority of table tags9c4eff9ab
Updated composer.json with dev dependencies92f61dc74
XSLT: force HTML attributes to use double quotes
0.8.4 (2016-11-22)
0.8.4 (2016-11-22)
Added
29dd2ca78
Added #fontfamily attribute filter008025df4
Added PipeTables plugind62d30a89
BBCodes: added align attribute to TD and THf7da8cd9c
Fatdown: added PipeTables1b2a9b28f
MediaEmbed: added support for MLB.comba6ce5e2d
MediaEmbed: added support for Twitch clipsfffd95cde
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 safenessf911748d3
BBCodes: disabled paragraphs inside [TD] and [TH]71c0fe828
BBCodes: updated default [font]8620a49e3
ClosureCompiler: updated externs85f6f41bb
HashmapFilter: reorganized code. No functional change5d2eea951
Litedown: improved the priority of QUOTE start tagsffde5aa2e
MediaEmbed: updated BBC Newsf4c750adc
MediaEmbed: updated Facebook06658f1b3
MediaEmbed: updated IMDbce1b411d7
MediaEmbed: updated SoundCloud. No functional change507fcbddd
MediaEmbed: updated Spotify8a486df0d
Parser: addTagPair() now sets the priority of the end tag to minus the given value7db413b19
Parser: invalidate tags that are skippedc5d2dbece
RegexpFilter: reorganized code slightlyf72332402
Ruleset: clear() should reset defaultChildRule and defaultDescendantRule rather than remove them