HTML Entities

Use the HTML Entities settings to specify how to display character entities in the Editor.

To open the Entities page for your HTML file type, go to File > Options > File Types > [HTML file type] > Entities.

If entity conversion is enabled, WorldServer converts all the character entity references (or numeric entity reference) listed under Entity Mappings that it finds in HTML documents to their character representations. Before writing the target file, WorldServer converts these characters back to their character entity form. For example, if entity conversion is enabled, the character entity reference & in the source file will be displayed as the character & in the Editor. Any occurrence of & will be written as &.

If a character entity is not selected for conversion, the character entity, rather than the character, is used in the Editor.

Note: Entities are grouped into entity sets. For example, the entity in HTML is in the HTML special entity set.
Entity Conversion
Option Description
Enable Entity Conversion Select this check box to enable entity conversion. If you clear this box, WorldServer will show entities as they are and will not convert them to characters in the Editor.
Advanced Click this button to display the Advanced HTML Entity Settings dialog box, where you can specify when characters are converted between entity representation and character representation.
Name

Select a check box in this column to allow character conversion for the set of entities it contains.

Click a name to display the entity set in the Entity Mappings column.

Type

Default entities are the standard entity mappings from W3C.

Custom entities are entities to which you have made changes.

Entity Mapping
Option Description
Add Click this to display the Add Entity Mapping dialog box where you can add an entity to the set.
Edit Select an entity name and click this to display the Edit Entity Mapping dialog box where you can edit the entity mapping.
Remove Select an entity name and click this to remove the entity from the entity set.
Reset Click to reset all the entities in this entity set to their default settings.