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

Commented code is rendered as xml element with expand and collapse #39

Open
merajcal opened this issue Jan 11, 2019 · 2 comments
Open

Comments

@merajcal
Copy link

merajcal commented Jan 11, 2019

If any element has html comments (e.g. ) along with some element which is also inside commented code, is rendered as element.
Example

Note: below mention commented line, renders 3 separate words (i.d class="word").

  1. first line
  2. student element
  3. closing comment (i.e.-->)
    Now commented student rendered as element not commented line.
    <school>
    <!-- commented text. This student is not valid
    <student id="1" name="S1"></student>
    -->
    <student id="2" name="S2"></student>
    <student id="3" name="S3"></student>
    </school>
@chippyash
Copy link

Confirmed. I stripped out comments and newlines before rendering and that reduced the issue. Even so I still get double dot that I can click on to get empty input box. If I click OK, page refreshes.

@chippyash
Copy link

this looks related to #31

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

No branches or pull requests

2 participants