Project

General

Profile

Actions

Defect #20470

open

Markdown Emphasis in a word didn't work properly.

Added by René van Dorst over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

I was trying Markdown in 3.1.0.

Accourding to http://daringfireball.net/projects/markdown/syntax#em it is posiable to use emphasis inside a word.

Qoute:

You can use whichever style you prefer; the lone restriction is that the same character must be used to open and close an emphasis span.

Emphasis can be used in the middle of a word:

un*frigging*believable

My Markdown code:

un*frigging*believable

un_frigging_believable

un***frigging***believable

un__frigging__believable

un___frigging__believable

HTML output:

<p>un*frigging*believable</p>

<p>un_frigging_believable</p>

<p>un*<strong>frigging</strong>*believable</p>

<p>un_<em>frigging</em>_believable</p>

<p>un_<strong>frigging</strong>believable</p>

<p>*this text is surrounded by literal asterisks*</p>

HTML output should be:

<p>un<em>frigging</em>believable</p>

<p>un<em>frigging</em>believable</p>

<p>un<em><strong>frigging</strong></em>believable</p>

<p>un<strong>frigging</strong>believable</p>

<p>un_<strong>frigging</strong>believable</p>

<p>*this text is surrounded by literal asterisks*</p>

Environment:
Redmine version 3.1.0.stable.14476
Ruby version 2.2.1-p85 (2015-02-26) [x86_64-linux]
Rails version 4.2.3
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
no plugin installed

No data to display

Actions

Also available in: Atom PDF