Changesets can be listed by changeset number.
The Git repository is here.
Changeset 479
Esacpe "[" and "]" in news feed parsed output, as it was being treated
like Textile data by the CMS and therefore rendered incorrectly.
- Comitted by: rool
- Date: Monday September 09 20:55:23 2019 (over 5 years ago)
Affected files:
- rool/rails/radiant/trunk/vendor/extensions/news_tag/lib/news_tag.rb (diff)
- rool/rails/radiant/trunk/vendor/extensions/news_tag/news_tag_extension.rb (diff)
rool/rails/radiant/trunk/vendor/extensions/news_tag/lib/news_tag.rb:
prev. | current | |
out << ' <li>' | ||
# Ensure the title string doesn't contain unsafe characters - | ||
127 | | |
127 | # RSS feeds can be used maliciously and square brackets can | |
128 | # confuse the CMS someties | |
title = title.dup | ||
title.gsub!('<', '<') | ||
title.gsub!('>', '%gt;') | ||
133 | title.gsub!('[', '[') | |
134 | title.gsub!(']', ']') | |
# Markdown doesn't process text here anyway, possibly because | ||
# the HTML list markup seems to stop it from doing so. Don't |
rool/rails/radiant/trunk/vendor/extensions/news_tag/news_tag_extension.rb:
prev. | current | |
# 2011-03-06 (ADH): Imported into Radiant 0.9.1 as an Extension. | ||
# 2011-03-16 (ADH): Added Atom feed compatibility. | ||
# 2013-08-30 (ADH): Added SSL certificate chain fetch support. | ||
35 | # 2019-09-10 (ADH): Escape "[" and "]" in titles, as this seemed to cause | |
36 | # layout problems; implication was that CMS parsed the | |
37 | # output data as if Textile markup. | |
# Uncomment this if you reference any of your controllers in activate | ||
# require_dependency 'application_controller' |