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

Disable HTML parsing in code blocks #12

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

Disable HTML parsing in code blocks #12

amercier opened this issue Jun 13, 2015 · 3 comments

Comments

@amercier
Copy link
Contributor

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
Copy link
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.

h13i32maru added a commit that referenced this issue Jun 27, 2015
@h13i32maru
Copy link
Member

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

@amercier
Copy link
Contributor Author

👍

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

No branches or pull requests

2 participants