Ticket #1236 (closed clarification: fixed)

Opened 12 months ago

Last modified 12 months ago

Article titles incorrectly italicized

Reported by: npeterson Owned by: rcave
Priority: critical Milestone: 0.9.2
Component: ambra Version: 0.9.1_rc1
Keywords: Cc:

Description

I just noticed that, in article titles that contain more than one ital term, the entire title is italicized incorrectly. See screenshots and examples.

 http://plosntds-demo.plos.org/article/info:doi/10.1371/journal.pntd.0000233  http://plosntds-demo.plos.org/article/info%3Adoi%2F10.1371%2Fjournal.pntd.0000372  http://plosntds-demo.plos.org/article/info%3Adoi%2F10.1371%2Fjournal.pntd.0000269

Verified. Italic tags are incorrectly set from the XML:

<article-title>Phylogeography and Genetic Variation of <italic>Triatoma dimidiata</italic>, the Main Chagas Disease Vector in Central America, and Its Position within the Genus <italic>Triatoma</italic></article-title>

turns into:

<h1 xpathLocation="noSelect">Phylogeography and Genetic Variation of Triatoma dimidiata</italic>, the Main Chagas Disease Vector in Central America, and Its Position within the Genus <italic>Triatoma

Change History

Changed 12 months ago by npeterson

  • owner changed from josowski to stoomey

Changed 12 months ago by stoomey

  • owner changed from stoomey to npeterson

This is a code issue, not HTML/CSS so it's not something I have the expertise to deal with unfortunately.

Changed 12 months ago by npeterson

  • owner changed from npeterson to josowski

Changed 12 months ago by josowski

(In [7554]) The articleformat directive was using a greedy regular expression causing it to fail when mulitple tags of the same type were passed in the same string

The RHC / social bookmarking digg title was also missing this directive.

References #1236

Changed 12 months ago by josowski

  • owner changed from josowski to rich
  • type changed from defect to clarification

Changed 12 months ago by rcave

  • status changed from new to closed
  • resolution set to fixed

Verified that article titles appear correctly when more than one <italic> tag is in the title.

Changed 12 months ago by dragisak

(In [7566]) Add tests for multiple tags of the same type. Should have been part of r7554. See #1236.

Note: See TracTickets for help on using tickets.