Flowdock

Represents text nodes in an XML document

Constants

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

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

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

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

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

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

REFERENCE = /#{Entity::REFERENCE}/

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

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.