-
Notifications
You must be signed in to change notification settings - Fork 210
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
Extra spaces are being inserted for inline code view #288
Comments
Thanks for your report! (To be clear, previous version is 0.3.50 not 0.5.50.) It would be very helpful if you could provide a reproducible example. |
My mistake.. I have updated it to 0.3.50 I will try and attach more details within the next few days. |
I've forked the project and have been playing around with the code to see if I can find an issue. Here is what I know so far:
I'm sure I'll find the problem soon.. will keep you posted. |
Please ignore the close, I accidentally did that. Its reopened again. |
…pace to be inserted into inline code templates.
I traced the issue to YUI version 3.18.1 and 3.18.0 Last working version is 3.17.2. I've open a pull request to hopefully merge this into the future: Any questions pls let me know. Thanks. |
Thanks! I confirmed to reproduce this issue, I'll take a look detail in this week. |
This PR fixes yui#288. This problem is due to `Y.Handlebars` have been upgraded from v1.x to v2.0.0 since YUI 3.18.0. Handlebars v2.0.0 have been changed the handling of indents to matches to the Mustache specs. https://github.com/wycats/handlebars.js/blob/master/release-notes.md Therefore, it fixes indents of templates and I'd like to make clear YUIDoc uses Handlebars v2.0.0 by depending on YUI 3.18.1 or later.
I created a new PR for this. See #292. |
#292 have been merged. It'll be available in the next release. |
When I moved to 0.4.0, I noticed that in the generated docs, all my code samples had a whole lot of whitespace inserted in the markup before the first character started.
This is not a CSS styling thing, by looking at the DOM object you can see physical whitespace.
I downgraded to 0.3.50 and this issue is not found here, so its a problem in 0.4.0.
Not exactly sure where the issue is but i will try and investigate and get more details to attach.
The text was updated successfully, but these errors were encountered: