Skip to content

Files

Latest commit

 

History

History

entities

HTML Entities Generator

This directory contains the tools for generating HTML's named character references.

Prerequisites

Before building, make sure you have the following commands installed on your system.

  • curl, perl, python

Build

Run the build.sh script, like this:

./build.sh

Input

  • entities-legacy.inc
  • json-entities-legacy.inc
  • unicode.xml (downloaded by build.sh)

Output

  • entities-dtd.url
  • entities.inc
  • entities.json

Because the output is expected to change very rarely, if ever, it is checked in. The top-level build.sh script uses these files directly.