InlineHtmlSyntax class

Leave inline HTML tags alone, from CommonMark 0.30.

This is not actually a good definition (nor CommonMark's) of an HTML tag, but it is fast. It will leave text like <a href='hi"> alone, which is incorrect.

TODO(srawlins): improve accuracy while ensuring performance, once Markdown benchmarking is more mature.

Inheritance

Constructors

InlineHtmlSyntax()

Properties

hashCode int
The hash code for this object.
no setterinherited
pattern RegExp
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
substitute String
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onMatch(InlineParser parser, Match match) bool
Adds a Text node to parser and returns true if there is a substitute, as long as the preceding character (if any) is not a /.
inherited
toString() String
A string representation of this object.
inherited
tryMatch(InlineParser parser, [int? startMatchPos]) bool
Tries to match at the parser's current position.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited