Making WordPress.org

Opened 7 years ago

Closed 7 years ago

Last modified 7 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
Cc:

Description

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,

Mic

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

@xmic
7 years ago

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

#2 @xmic
7 years ago

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

Version 0, edited 7 years ago by xmic (next)

#3 @obenland
7 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
7 years ago

Cheers @obenland you're a champion!

Kind regards,

Mic

Note: See TracTickets for help on using tickets.