You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ignore unknown HTML tags to prevent noisy warnings
blackfriday v2 introduced "HTMLSpan" as a node-type, causing go-md2man
to produce warnings as it didn't have specific handling for these nodes.
This patch makes go-md2man ignore these node types (e.g. <span> elements,
or <svg>), and skip the element themselves (only rendering their content,
if any), to prevent go-md2man printing noisy warnings during generation:
WARNING: go-md2man does not handle node type HTMLSpan
WARNING: go-md2man does not handle node type HTMLSpan
WARNING: go-md2man does not handle node type HTMLSpan
WARNING: go-md2man does not handle node type HTMLSpan
WARNING: go-md2man does not handle node type HTMLSpan
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
0 commit comments