php-markdown icon indicating copy to clipboard operation
php-markdown copied to clipboard

Adjacent emphases and importances

Open ethantw opened this issue 12 years ago • 1 comments

I encountered an issue while writing Markdown documents in Chinese. That is, if there is no spaces between two emphases, e.g., un_be__lie_vable, Markdown tends to ignore them as emphases.

The problem could be a great deal since, in most cases, there are no spaces among words in Chinese or other East Asian language writings. For instance,

**一對半形底線**的功能*同等於***一對星號**。

(The function of a pair of underscores is equal to that of a pair of asterisks.)

My temporary solution is to put a comment or an element like <wbr> in between, which is in-semantic and superfluous.

**一對半形底線**的功能*同等於*<!---->**一對星號**。

Could this be solved?

ethantw avatar Apr 23 '13 01:04 ethantw

It can probably be solved. I'd have to look a little deeper though. I'm keeping this issue open as a reminder. Thanks.

michelf avatar Apr 25 '13 10:04 michelf