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

@amercier 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
Copy link
Member

@h13i32maru 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
#12
@h13i32maru
Copy link
Member

@h13i32maru 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
Copy link
Contributor Author

@amercier amercier commented Jun 27, 2015

👍

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

Successfully merging a pull request may close this issue.

None yet
2 participants