Ticket #163 (assigned defect)

Opened 2 years ago

Last modified 4 weeks ago

Output of RSS feed should not be parsed as wiki text

Reported by: earle Owned by: dom
Priority: normal Milestone:
Component: openguides Version: svn
Severity: normal Keywords: hackfestsummer2007-reviewed, rss plugin
Cc:

Description

Looks like leading spaces on lines in RSS output are being interpreted as preformatted text wiki formatting by Text::WikiFormat?.

http://london.openguides.org/index.cgi?South_Bank_Centre

Change History

Changed 18 months ago by dom

  • summary changed from Output of RSS feed embedding appearing as preformatted text to Output of RSS feed should not be parsed as wiki text

Changed 18 months ago by Kake

We should do this by changing Wiki::Toolkit::Formatter::UseMod so it accepts "pre_format_macros" and "post_format_macros" as alternative arguments to the current "macros" argument.

Changed 18 months ago by Kake

  • keywords hackfestsummer2007-reviewed, added

Changed 18 months ago by Kake

  • owner changed from earle to Kake

Changed 18 months ago by Kake

  • status changed from new to assigned

Changed 5 weeks ago by kake

  • owner changed from Kake to Nobody
  • status changed from assigned to new

Changed 4 weeks ago by dom

  • owner changed from Nobody to dom
  • status changed from new to assigned

Changed 4 weeks ago by dom

I think it would be better to have the possibility of macros being passed in as hashrefs, so they can contain hashrefs. Since the RSS macros currently reverses the HTML-escaping performed by the formatter, we should take advantage of this to introduce an option for whether to process the macro before the escaping too. This would mean individually formatting each of the macros separately, to allow for all such combinations.

Note: See TracTickets for help on using tickets.