Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3483 closed defect (bug) (fixed)

Markdown parser: Stop <code> element from hyphenating

Reported by: xmic's profile xmic Owned by: obenland's profile obenland
Milestone: Plugin Directory v3.0 Priority: normal
Component: Plugin Directory Keywords: has-screenshots


The plugin’s description for the markdown code element is hyphenating.

May we specify to add CSS hyphens: none; for the <code> element?

Please see attached screenshot of the hyphenation that should not be taking place on a single-line <code> element. The reason for this is that a hyphen does not normally exist in this URL, which is used within the <code> element. There does not seem to be any other markdown styling that would suit a URL which is not supposed to be hyphenated.

Kind regards,


Attachments (1)

screenshot-1.png (54.5 KB) - added by xmic 6 years ago.
Example of a <code> element being hyphenated for a described URL.

Download all attachments as: .zip

Change History (5)

6 years ago

Example of a <code> element being hyphenated for a described URL.

#2 @xmic
6 years ago

Thank you @netweb I'll update this in the trac ticket now.

Whoops sorry I forgot trac tickets can’t be amended.

Last edited 6 years ago by xmic (previous) (diff)

#3 @obenland
6 years ago

  • Owner set to obenland
  • Resolution set to fixed
  • Status changed from new to closed

In 6773:

Plugin: Don't hyphenate phrase tags.

Props xmic.
Fixes #3483.

#4 @xmic
6 years ago

Cheers @obenland you're a champion!

Kind regards,


Note: See TracTickets for help on using tickets.