Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect conversion to HTML #35

Open
RobKolanko opened this issue Feb 15, 2017 · 0 comments
Open

Incorrect conversion to HTML #35

RobKolanko opened this issue Feb 15, 2017 · 0 comments

Comments

@RobKolanko
Copy link

RobKolanko commented Feb 15, 2017

The following is an example of Textile text that does not format correctly to HTML using the textile specs.
This Text:

(iii) Txt1.
(5) _Italic._ (i)(_a_) txt2.
(_b_) txt3.
(ii) txt4

Using redcloth output looks like the following with the italics.
(iii) Txt1.
(5) Italic. (i)(a_) txt2.
(_b) txt3.
(ii) txt

I believe the HTML conversion is incorrect

<p>(iii) Txt1.<br/>
(5) <em>Italic.</em> (i)(<em>a_) txt2.<br/>
(_b</em>) txt3.<br/>
(ii) txt</p>

Where this example should look like the following with the italics as per https://txstyle.org/
(iii) Txt1.
(5) Italic. (i)(a) txt2.
(b) txt3.
(ii) txt4

correct HTML?

<p>(iii) Txt1.<br />
(5) <em>Italic.</em> (i)(<em>a</em>) txt2.<br />
(<em>b</em>) txt3.<br />
(ii) txt4</p>
@RobKolanko RobKolanko changed the title Imcorrect conversion to HTML Incorrect conversion to HTML Feb 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant