Releases: s9e/TextFormatter
Releases · s9e/TextFormatter
1.1.0 (2018-02-15)
Added
ac38f54cf
MediaEmbed: added support for Telegram5f4d01827
TemplateParser: added support for disable-output-escaping="yes"
Removed
08cb4d52a
MediaEmbed: removed support for Imgur's /t/ URLs
Changed
86f0c7ad7
BBCodes: updated SPOILER BBCode to prevent it from submitting forms7a4633b98
FixUnescapedCurlyBracesInHtmlAttributes: escape the first left brace of a function declaration74c90041a
InlineTextElements: do not inline text with disable-output-escaping="yes"58b2a389f
MediaEmbed: embed Imgur links to static images87671bcb8
MediaEmbed: updated BBC News95ed3fc0d
MediaEmbed: updated CBS News2b30e7523
MediaEmbed: updated Vevo25559caf4
MediaEmbed: updated Vevo289b1e26e
Simplified Quick renderer generator472c568b7
TemplateParser: refactored and split into subcomponents8a323795f
TemplateParser: simplified node removal
1.0.1 (2018-01-17)
Added
b72c04884
MediaEmbed: added FOX Sports
Fixed
1b7e7a387
Parser: fixed an issue with malformed XML in places where text is ignored (#87)
1.0.0 (2018-01-04)
Added
7577e4584
Added caching HTTP clienta107e470a
Emoji: added support for textual codepoint sequences
Removed
147c773ea
BBCodes: removed $predefinedAttributes06920f1fb
MediaEmbed: removed $captureURLsffde0c243
MediaEmbed: removed $createIndividualBBCodesac33fb0a2
MediaEmbed: removed Vidme24d5ae989
MediaEmbed: removed Zippysharedef39285e
MediaEmbed: removed appendTemplate()7e343bf2d
MediaEmbed: removed support for custom schemes5921a6ad1
MediaEmbed: removed unused code21a9fce71
Parser: removed implicit invalidation in tag filters1c136a634
Removed InvalidTemplateException and InvalidXslException classes80ec0e641
Removed support for attribute generators and the {RANDOM} token in BBCodes
Changed
0c3bcb2c2
ElementInspector: updated for HTML 5.2ff6da69aa
HTMLElements: updated configurator for HTML 5.20bc92a880
HTMLElements: updated the list of URL attributesdace43e40
Litedown: restricted the characters allowed in link references' URLs8092ea038
MediaEmbed: refactored plugin6557a14ae
MediaEmbed: updated 8tracks112b7457c
MediaEmbed: updated Dailymotion and Twitch488a15907
MediaEmbed: updated Facebook9079e50c3
MediaEmbed: updated Flickrb7ee53bf5
MediaEmbed: updated Imgurc0f863da8
MediaEmbed: updated Redditeacf0e0f8
MediaEmbed: updated Spotifya5647eb14
MediaEmbed: updated Vimeo3d5cfef45
Parser: reorganized filter processing3de8c6af8
RegexpConvertor: updated Unicode properties to latest version1987a0ba4
TemplateHelper: updated for HTML 5.2788152faf
Updated live preview algorithm
0.13.1 (2017-12-10)
Added
8aef6ff75
Added RemoveLivePreviewAttributes template normalization to non-JavaScript renderer generatorsbadcf2a35
Added live preview attribute data-s9e-livepreview-ignore-attrsfa352dc5a
MediaEmbed: added live preview hints to dynamically-resized embeds
Fixed
500d43a51
RegexpBuilder: fixed infinite recursion during remerge
Changed
69332cc50
JavaScript: updated Closure Compiler externs62ed3073f
MediaEmbed: keep all optional fields in cached definitions1e56d2a60
MediaEmbed: moved attribute creation out of add()805b1ae9a
MediaEmbed: normalize site definitions as they are createdee4b1bdd4
MediaEmbed: updated MSNBC6e5b6c405
Ruleset: refactored internals to be more scalabled3fde3969
TemplateInspector: split individual elements' inpection into ElementInspector2d242d8a7
Updated live preview code and JavaScript externsf6551bb4d
Updated live preview to return the last node modifieda75aef0cb
Updated the live preview algorithm
0.13.0 (2017-11-27)
Added
fa9e938a4
Added MinifyInlineCSS template normalizationd471649ce
Added timestamp attribute filter
Removed
0ef891332
Censor: removed unused method
Fixed
feeeac930
HashmapFilter: fixed an issue where hash keys were not preserved during JavaScript minification803d3c5b9
RegexpConvertor: fixed the conversion of empty regexps
Changed
9ccb7597a
BuiltInFilters: reorganized filters into separate classes66b1d77be
BuiltInFilters: simplified regexp-based filters4f998c818
Logger: renamed get() to getLogs()d2df9701b
MediaEmbed: updated MSNBC47b00f1c8
MediaEmbed: updated YouTube017c8f77c
MediaEmbed: updated cached definitions
0.12.0 (2017-11-11)
Added
cff256ec2
Added OptimizeChooseText template normalizationf7b88b2d8
Added UninlineAttributes template normalization8dfdedf97
BBCodeMonkey: added support for short-form optional attributese92549522
Litedown: added support for subscript8e751a5a1
MediaEmbed: added Orfium
Removed
193dec933
Emoji: removed set configuration and hardcoded default template4744c5950
OptimizeChoose: removed redundant method232bb4e03
PHP renderer: removed source from renderer instance433651b7b
Removed HostedMinifier and RemoteCachecf79c62f4
Renderer: removed $metaElementsRegexpd37d1912a
TemplateInspector: removed getDOM()
Changed
0c6bc3331
AVTHelper: preserve whitespace in toXSL()4ea55275c
BBCodeMonkey: reorganized some code761bc3e35
ClosureCompilerService: updated service's URL34ff96f14
Detect unexpected input that cannot be rendered by the Quick renderer1fc40d19d
Emoji: use EmojiOne 3.1's PNG assetse6f58045d
Litedown: do not require a blank line before listsbe2618c1d
Litedown: refactored Superscript passb6368c235
Litedown: refactored parser into separate passes9ebe42bea
Litedown: reorganized Emphasis parserc941be98a
Litedown: simplified configurator setupf4be8e77d
Litedown: updated emphasis syntax to check for whitespace92ba7928c
Litedown: updated superscript syntax8d8e3cde3
MediaEmbed: updated Google Sheetscb942255a
MediaEmbed: updated Mail.Rucb0c4d6dc
MediaEmbed: updated YouTube283087b99
MediaEmbed: updated YouTube to remove deprecated optione06cc7079
Moved static code from dynamically generated PHP renderers into a separate class713cc2e29
OptimizeChoose: moved generic methods to an abstract class21f63889d
Preg: replaced detection of invalid regexpsd5bfb22a4
Quick: bypass entity decoding/encoding when multiple XML attribute values are output in an HTML attribute50d1bf55e
Quick: simplified boilerplate code3755ed483
Refactored and simplified template normalization classesf1a382413
Replaced custom branch tables with native switch statements in PHP renderers844df511a
TemplateInspector: reorganized code for readabilityd184254b7
TemplateInspector: simplified bitfield analysisbdcfec4fc
TemplateNormalizer: increased the maximum number of iterationse20a5c8b0
Updated JavaScript parsers to use bracket notation for character accessf6a3dfdb6
Updated PHP requirements to PHP 5.4.7
0.11.2 (2017-10-02)
Fixed
b82ab12b4
Litedown: fixed a bug triggered by empty code blocks77e81cfba
Quick: fixed an issue with @* in conditionalsac2353ba6
XmlFileDefinitionCollection: fixed an issue with atypical but valid definitions
Changed
14c4846e4
MediaEmbed: identify [media] tag pairs as markupaeaa1c8f1
MediaEmbed: made ->MediaEmbed->captureURLs accessible744f5a436
MediaEmbed: updated NHLee5e8e13b
MediaEmbed: updated Podbean91fa461a0
Preg: normalize custom tag names955c8e78c
RulesGenerator: improved code's readabilityba76dd0fd
XmlFileDefinitionCollection: cast known config values to the appropriate type
0.11.1 (2017-09-12)
Added
eebac1ad4
MediaEmbed: added support for parameters metadata in site config
Removed
8eb826344
MediaEmbed: removed default dimensions from definitions
Changed
d84102711
BBCodes: updated default [img] BBCode to accept dimensions9e917849f
MediaEmbed: updated Gfycat57bff33ca
MediaEmbed: updated Imgur7e7aa3b23
MediaEmbed: updated Vidmed75174d02
MediaEmbed: updated YouTube
0.11.0 (2017-08-04)
Added
0239f7e06
Added AllowAll rules generator76c01d93b
MediaEmbed: added support for Amazon Indiaafe63fc05
RulesGenerator: added BlockElementsCloseFormattingElements to default generators
Removed
d94ef970f
Configurator: removed addHTML5Rules() and integrated it in finalize()3e9a48fe1
Configurator: removed the finalizeParser and finalizeRenderer options from finalize()599a21548
Configurator: removed the optimizeConfig option from finalize()c20153268
Configurator: removed the returnParser and returnRenderer options from finalize()77f96dfe8
RulesGenerator: removed support for parentHTML option4d3370389
Ruleset: removed defaultChildRule() and defaultDescendantRule()65c910a20
TemplateInspector: removed isIframe()
Fixed
f5f176c8c
Utils: fixed removeTag() failing with arbitrarily high values
Changed
4b05c5233
Autoimage: reversed tag priority to allow Autolink to linkify the imagea4862b55e
Autovideo: explicitly allow URL tags to be used as fallback9970de5da
Internals: increased the default limits for tags and other resourcesc31a802d1
MediaEmbed: explicitly allow URL tags to be used as fallback2d3cc9ba9
MediaEmbed: limit the width of dynamically-sized embeds to 100%a2dba6ee0
MediaEmbed: reorganized template generation for readabilitya58a52a34
MediaEmbed: updated Amazona7088bd48
MediaEmbed: updated Amazon4fc5fbda2
MediaEmbed: updated Getty2074eeabc
MediaEmbed: updated Google Drive6b26c91cd
MediaEmbed: updated Vidme608840ec2
MediaEmbed: use span as responsive wrapper15f65327a
Rules: the default rule for tags is nowdeny
.allowDescendant
anddenyDescendant
now only apply to non-child descendant
0.10.1 (2017-07-03)
Fixed
98f1ec319
Censor: fixed an issue where Helper::censorHtml() would not use the correct replacement