Replies: 1 comment
-
It looks like this extension is not following that behavior. In fact, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have been using an extension commonmark-hint-extension and run into a little bug or question regarding StringContainerInterface.
The class
Hint
extends StringContainerInterface like this:I am using the example from the plugin README file:
However when I render this as XML it outputs the text twice:
You can see the text
This is how the **Markdown** looks
exists in plain text and then duplicated in XML text tags. When I remove this interface then it works fine:I don't really understand the purpose of this interface and if it is required and working as expected or if this is a bug in Commonmark or if this is a bug in the package for implementing StringContainerInterface...
Any advice?
Beta Was this translation helpful? Give feedback.
All reactions