Disable HTML parsing in code blocks #12

Closed
amercier opened this Issue Jun 13, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@amercier
Contributor

amercier commented Jun 13, 2015

While parsing the following docblock:

/**
 * Usage
 * -----
 * 
 *     <div id="pg">
 *       <div data-pagination-value>1</div>
 *       of
 *       <div data-pagination-max>10</div>
 *     </div>
 */

ESDoc replaces all code containing HTML elements by actual HTML elements, which is undesired in a code block:

screen shot 2015-06-13 at 12 18 47 pm

Is there a way to achieve this in another way (I tried with triple backquotes, same issue), or disable HTML in comments entirely?

@h13i32maru

This comment has been minimized.

Show comment
Hide comment
@h13i32maru

h13i32maru Jun 14, 2015

Member

@amercier Hi! Thank you for reporting issue.
This is the bug of ESDoc. I will try to fix the bug that it can use triple backquotes.

Member

h13i32maru commented Jun 14, 2015

@amercier Hi! Thank you for reporting issue.
This is the bug of ESDoc. I will try to fix the bug that it can use triple backquotes.

h13i32maru added a commit that referenced this issue Jun 27, 2015

@h13i32maru

This comment has been minimized.

Show comment
Hide comment
@h13i32maru

h13i32maru Jun 27, 2015

Member

@amercier I fixed this bug. I will release the fixing in next version.

Member

h13i32maru commented Jun 27, 2015

@amercier I fixed this bug. I will release the fixing in next version.

@h13i32maru h13i32maru closed this Jun 27, 2015

@amercier

This comment has been minimized.

Show comment
Hide comment
@amercier

amercier Jun 27, 2015

Contributor

👍

Contributor

amercier commented Jun 27, 2015

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment