Infragistics / livewire

A simple web content editor built with Electron
https://waffle.io/infragistics/livewire
19 stars 9 forks source link

Notes don't preview correctly #71

Closed ig-ealbert closed 8 years ago

ig-ealbert commented 8 years ago

Not sure if this is a Livewire bug or a Convertwire bug.

Go here: http://help.staging.infragistics.local/Doc/WPF/2016.1/CLR4.0/?page=xamDocKManager_Load_an_End_Users_Docking_Layout.html

Open xamdockmanager-load-an-end-users-docking-layout.adoc in Livewire.

The note section is rendered as such:

[NOTE]
====
 _xamDockManager_   は、レイアウト ファイルの情報に基づいてコンテンツ ペインを自動的に作成および追加はしません。

This seems to be right based on AsciiDoc syntax. However, it renders like this: image

Note the two highlighted areas to the left, and that the asciidoc syntax inside the note is not respected.

ig-ealbert commented 8 years ago

This is caused by the space before _xamDockManager_. This happens only in Japanese presumably because xamDockManager is the first word in the sentence where English has "The" before the control name. Convertwire inserts a space before the italic marker _. I'm sure there's a reason for this, but it probably shouldn't do so if it's the first element in a line. I'll log this as a Convertwire bug as it doesn't have anything to do with Livewire.