Comments (5)
ok I know why.
with the following input it works fine:
The HTML specification is maintained by the W3C.
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
So the issue is the trailing newline. With pegdown it was working without a trailing newline. Could you confirm if the currently implemented behavior is correct (i.e. to not consider an abbreviation definition if it's not ending with a newline even if if that last line of the input?
Thanks
from flexmark-java.
@vmassol, it should accept the abbreviation definition without a trailing EOL at the end of the file. If it does not then it is a bug. I will add a test and fix it.
from flexmark-java.
@vmassol, confirmed and fixed. Are you using maven or this repo for your project. If its maven I will do a release, otherwise I will just update the repo and wait for more fixes before making an official release.
from flexmark-java.
cool. Yes I'm using Maven. I can wait a few days if you don't want to release a new version now.
from flexmark-java.
@vmassol, maven released. Not a problem to release it. If you were not using it then there would be no point in making a release.
Thank you for catching this one. All previous tests were done with an EOL at the end of the file. I will modify the testing to make No trailing EOL the default for all tests.
from flexmark-java.
Related Issues (20)
- missing Git tag for release 0.64.8
- Question: Using flexmark to render markdown in a javafx application HOT 1
- footnotes are not sorted by first appearence
- Flexmark interferes with KaTeX code
- Allow merging table cells vertically using ^^
- The parser fails to parse marks inside <ul><li> and <row><table><tr><td> if not preceeded by a blank line
- Level-1 heading not parsed if preceded by UTF-8 BOM HOT 1
- Support for Gatsby Link?
- How do I convert html into markdown with Atx style title syntax, which seems to be Setext style by default now?
- Incorrect HTML generated for escaped pipe inside a table cell
- How to prevent adding trailling new lines for inline elements when using NO_P_TAGS_USE_BR
- ArrayIndexOutOfBoundsException: 0 at MarkdownTable.finalizeTable(MarkdownTable.java:747)
- [Feature Request] parsing djot markdown flavor
- how to render heading
- GFM admonition blocks
- FlexmarkHtmlConverter - HtmlConverterExtension
- What should the author write about the realization of the original translation retention HOT 1
- use FlexmarkHtmlConverter ,html to markdown,# no escape HOT 1
- FlexmarkHtmlConverter convert a html took 11.5 hrs,i donot known why HOT 1
- Leading spaces at the beginning of the next line are not ignored when using a backslash as a hard line break HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flexmark-java.