-
Notifications
You must be signed in to change notification settings - Fork 270
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
Abbreviation node not called when 2 abbreviations #27
Comments
ok I know why. with the following input it works fine:
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 |
@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. |
@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. |
cool. Yes I'm using Maven. I can wait a few days if you don't want to release a new version now. |
@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. |
…vsch#27) Bumps [org.apache.maven.plugins:maven-deploy-plugin](https://github.com/apache/maven-deploy-plugin) from 2.8.2 to 3.1.2. - [Release notes](https://github.com/apache/maven-deploy-plugin/releases) - [Commits](apache/maven-deploy-plugin@maven-deploy-plugin-2.8.2...maven-deploy-plugin-3.1.2) --- updated-dependencies: - dependency-name: org.apache.maven.plugins:maven-deploy-plugin dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Hi, I'm now adding support for MD abbreviations.
I have added the AbbreviationExtension and registered a handler:
And in my
visit
method:The problem comes from the following input:
In my case I get only 1 call for my
visit(Abbreviation node)
method instead of the 2 I was expecting.In other words, I don't get a call for the
W3C
abbreviation.Any idea?
Thanks again!
The text was updated successfully, but these errors were encountered: