question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AST may be reporting the wrong length of HTML block

See original GitHub issue

I don’t know enough about the nuances of Markdown and the AST to know if this a bug so I’ll just report it.

Given at the beginning of a document:

<pre>
</pre

The AST will report the HTML block begins at offset 0 with a length of 12

Close the tag however:

<pre>
</pre>

And the AST reports the block begins at offset 0 with a length of 7.

Reported in https://github.com/mike-ward/Markdown-Edit/issues/165

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Knagiscommented, Jul 12, 2016

0.13.3 has been pushed to nuget. Hopefully it fixes the issue.

0reactions
mike-wardcommented, Jul 13, 2016

Yep, that fixes it. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling common HTML and CSS problems - MDN Web Docs
Let's go forth and look at how we can reduce cross browser errors that result from HTML/CSS.
Read more >
You Need to Avoid These ATS Formatting Mistakes
Are ATS formatting mistakes sabotaging your chances of landing your dream job? This article shows how to avoid the most common errors.
Read more >
error_reporting - Manual
PHP has many levels of errors, using this function sets that level for the duration (runtime) of your script. If the optional error_level...
Read more >
Structural markup and right-to-left text in HTML
This article looks at ways of handling text direction for structural markup in HTML, ie. at the document level and for elements like ......
Read more >
HTML Style Guide and Coding Conventions
A consistent, clean, and tidy HTML code makes it easier for others to read and understand your code. Here are some guidelines and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found