ae.utils.xml.entities

XML/HTML entity encoding/decoding.

Members

Aliases

convertEntities
deprecated alias convertEntities = decodeEntities
Undocumented in source.
encodeEntities
alias encodeEntities = encodeEntitiesImpl!(false, (char c) => c == '<' || c == '>' || c == '"' || c == '\'' || c == '&')
Undocumented in source.
putEncodedEntities
alias putEncodedEntities = putEncodedEntitiesImpl!(false, (char c) => c == '<' || c == '>' || c == '"' || c == '\'' || c == '&')
Undocumented in source.

Functions

decodeEntities
string decodeEntities(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
encodeAllEntities
string encodeAllEntities(string str)
Undocumented in source. Be warned that the author may not have intended to support it.
encodeEntitiesImpl
string encodeEntitiesImpl(string str)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

putEncodedEntitiesImpl
template putEncodedEntitiesImpl(bool unicode, alias pred)
Undocumented in source.

Variables

entities
dchar[string] entities;
Undocumented in source.
entityNames
string[dchar] entityNames;
Undocumented in source.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <vladimir@thecybershadow.net> Simon Arlott