flexmark-java icon indicating copy to clipboard operation
flexmark-java copied to clipboard

Question :: CustomExtension does not suppport {} attributes

Open ttsMatt opened this issue 4 years ago • 0 comments

Cheers guys and thanks for the very nice implementation!

I wrote a custom extension which renders an img tag but takes an id instead an url as input. So instead https://foo.bar the url parameter takes a long value which is internally resolved. Everything works fine and I'm pretty happy besides that the attributes part {widht="20px"} is completly ignored.

Standard Tag ![Test](URL){Attributes} ![google](https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png){width="100px"}

Custom Tag !img[Text](LONG){Attributes} !img[](42){width="20px"}

Expected behaviour: The width attribute is honored and passed on to the image tag.

Actual behaviour: The attributes are completly ignored.

Anyone who could nudge me to where to look at?

ttsMatt avatar Feb 24 '21 15:02 ttsMatt