Flowdock

Represents text nodes in an XML document

Constants

EREFERENCE = /&(?!#{Entity::NAME};)/

REFERENCE = /#{Entity::REFERENCE}/

NUMERICENTITY = /�*((?:\d+)|(?:x[a-fA-F0-9]+));/

ILLEGAL = /(<|&(?!(#{Entity::NAME})|(#0*((?:\d+)|(?:x[a-fA-F0-9]+)));))/um

SETUTITSBUS = [ /</u, />/u, /"/u, /'/u, /&/u ]

SLAICEPS = [ '<', '>', '"', "'", '&' ]

SUBSTITUTES = ['&', '<', '>', '"', ''', ' ']

SPECIALS = [ /&(?!#?[\w-]+;)/u, //u, /"/u, /'/u, /\r/u ]

Attributes

[RW] raw

If raw is true, then REXML leaves the value alone

Show files where this class is defined (1 file)
Register or log in to add new notes.