Common Lisp Package: COM.INFORMATIMAGO.COMMON-LISP.HTML-GENERATOR.HTML-ENTITIES

ISO 8879:1986 SGML entities (HTML 3.2). (Related to, but distinct from: ISO 8859-1). License: AGPL3 Copyright Pascal J. Bourguignon 2003 - 2012 This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>

README:

FUNCTION

Public

MELT-ENTITIES (TEXT)

RETURN: A string with any HTML ISO-Latin-1 entity occurence replaced by the corresponding character. BUG: We don't manage the encodings, assuming that ISO-Latin-1 is active.

Private

DISPLACED-VECTOR (VECTOR START &OPTIONAL END &KEY (FILL-POINTER NIL))

DO: Same as SUBSEQ but with a displaced array. RETURN: A new displaced vector. SEE ALSO: COM.INFORMATIMAGO.COMMON-LISP.CESARUM.UTILITY:NSUBSEQ

STRING-REPLACE (STRING PATTERN REPLACE &KEY (TEST #'CHAR=))

RETURN: A string build from STRING where all occurences of PATTERN are replaced by the REPLACE string. TEST: The function used to compare the elements of the PATTERN with the elements of the STRING.

MACRO

Private

Undocumented

DEFENTITY (NAME CODE &OPTIONAL DOCUMENTATION)

VARIABLE

Private

*ENTITIES*

Maps entity names (case sensitive strings) to a string containing their corresponding characters.

CONSTANT

Public

Aacute

capital A, acute accent

aacute

small a, acute accent

Acirc

capital A, circumflex accent

acirc

small a, circumflex accent

acute

acute accent

AElig

capital AE diphthong (ligature)

aelig

small ae diphthong (ligature)

Agrave

capital A, grave accent

agrave

small a, grave accent

Aring

capital A, ring

aring

small a, ring

Atilde

capital A, tilde

atilde

small a, tilde

Auml

capital A, dieresis or umlaut mark

auml

small a, dieresis or umlaut mark

brvbar

broken (vertical) bar

Ccedil

capital C, cedilla

ccedil

small c, cedilla

cedil

cedilla

cent

cent sign

copy

copyright sign

curren

general currency sign

deg

degree sign

divide

divide sign

Eacute

capital E, acute accent

eacute

small e, acute accent

Ecirc

capital E, circumflex accent

ecirc

small e, circumflex accent

Egrave

capital E, grave accent

egrave

small e, grave accent

ETH

capital Eth, Icelandic

eth

small eth, Icelandic

Euml

capital E, dieresis or umlaut mark

euml

small e, dieresis or umlaut mark

frac12

fraction one-half

frac14

fraction one-quarter

frac34

fraction three-quarters

Iacute

capital I, acute accent

iacute

small i, acute accent

Icirc

capital I, circumflex accent

icirc

small i, circumflex accent

iexcl

inverted exclamation mark

Igrave

capital I, grave accent

igrave

small i, grave accent

iquest

inverted question mark

Iuml

capital I, dieresis or umlaut mark

iuml

small i, dieresis or umlaut mark

laquo

angle quotation mark, left

macr

macron

micro

micro sign

middot

middle dot

nbsp

no-break space

not

not sign

Ntilde

capital N, tilde

ntilde

small n, tilde

Oacute

capital O, acute accent

oacute

small o, acute accent

Ocirc

capital O, circumflex accent

ocirc

small o, circumflex accent

Ograve

capital O, grave accent

ograve

small o, grave accent

ordf

ordinal indicator, feminine

ordm

ordinal indicator, masculine

Oslash

capital O, slash

oslash

small o, slash

Otilde

capital O, tilde

otilde

small o, tilde

Ouml

capital O, dieresis or umlaut mark

ouml

small o, dieresis or umlaut mark

para

pilcrow (paragraph sign)

plusmn

plus-or-minus sign

pound

pound sterling sign

raquo

angle quotation mark, right

reg

registered sign

sect

section sign

shy

soft hyphen

sup1

superscript one

sup2

superscript two

sup3

superscript three

szlig

small sharp s, German (sz ligature)

THORN

capital THORN, Icelandic

thorn

small thorn, Icelandic

times

multiply sign

Uacute

capital U, acute accent

uacute

small u, acute accent

Ucirc

capital U, circumflex accent

ucirc

small u, circumflex accent

Ugrave

capital U, grave accent

ugrave

small u, grave accent

uml

umlaut (dieresis)

Uuml

capital U, dieresis or umlaut mark

uuml

small u, dieresis or umlaut mark

Yacute

capital Y, acute accent

yacute

small y, acute accent

yen

yen sign

yuml

small y, dieresis or umlaut mark

Private

amp

ampersand

gt

greater than

lt

less than