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

@ Not escapable in example #179

Closed
andrewnicols opened this issue Sep 26, 2013 · 4 comments · Fixed by #318
Closed

@ Not escapable in example #179

andrewnicols opened this issue Sep 26, 2013 · 4 comments · Fixed by #318
Assignees
Labels
Milestone

Comments

@andrewnicols
Copy link
Contributor

I was trying to include some example CSS with a media query in a module the other day, and the @ at the beginning of the media query caused the subsequent section to be entirely omitted. I tried escaping the @ in a variety of ways to no avail.

Example docblock which replicates the issue

    /**
     * Some function
     *
     * JS:
     *
     *     YUI().use('example-module', function(Y) {
     *     });
     *
     *
     * and the CSS:
     *
     *     div.foo {
     *         width: 100%;
     *     }
     *
     *     @media screen and (max-width: 767px) {
     *         div.foo {
     *             width: 100px;
     *         }
     *    }
     * @method someMethod
     */
@caridy
Copy link
Member

caridy commented Sep 26, 2013

jeje, this is going to be a tough one!

@arboleya
Copy link

👍

1 similar comment
@hems
Copy link

hems commented Nov 14, 2013

+1

@okuryu okuryu added the bug label Dec 23, 2014
okuryu added a commit to okuryu/yuidoc that referenced this issue Feb 18, 2015
The issue due to non JSDoc tags such as `@media` recognized as JSDoc tags.
It avoid the problem by ignoring tags of the target.

Fix yui#179.
@okuryu okuryu self-assigned this Feb 21, 2015
@okuryu okuryu added this to the v0.6.0 milestone Feb 21, 2015
@okuryu
Copy link
Member

okuryu commented Mar 6, 2015

Fixed in v0.6.0.

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

Successfully merging a pull request may close this issue.

5 participants