sirthias / pegdown

A pure-Java Markdown processor based on a parboiled PEG parser supporting a number of extensions

Home Page:http://pegdown.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add ability to have more than one class in LinkRenderer.Rendering using multiple withAttribute() calls

vsch opened this issue · comments

This is a simple fix to concatenate attribute values with a space separator if the attribute is already defined in the Rendering.

That way withAttributes() can be called from multiple points in the code without worrying if the attribute is already defined or will be defined in some future release.