Ticket #210 (closed defect: fixed)

Opened 8 years ago

Last modified 7 years ago

Adding a double dash to the filename causes metadata appear on the page

Reported by: tom Owned by: brent
Priority: minor Milestone: 2.3.0
Component: General Version: Untagged
Keywords: Adding a double dash to the filename causes metadata appear on the page Cc:

Description (last modified by dray) (diff)

Adding a double dash to the filename causes metadata appear near the bottom of the page in Forefox. This is actually a browser issue, but we should probably not allow the double dash (--) in filename to avoid the problem.

[3521]

Change History

comment:1 Changed 8 years ago by tom

  • Milestone changed from 2.1.1 to 2.3.0

We could possibly replace the -- with a long dash, similar to haw MS Word does.

comment:2 Changed 7 years ago by dray

  • Status changed from new to closed
  • Resolution set to fixed
  • Description modified (diff)

Given the way that the XML module parses and interprets data in this particular context, we have addressed this situation by replacing the -- with a single - in the metadata representation.

This will handle any case of the -- appearing in any metadata field that will affect the html comment section in the rendered RDF and citation per page.

There is a larger Plone/XML/TAL bug, as this type of 'comment breaking' is only occuring with Plone, ContentLicensing?, and rendering TAL in this fashion.

Note: See TracTickets for help on using tickets.