EncryptJS

History

date version author description
2006-09-18 0.1 hofsve initial version
2006-10-02 0.2 hofsve no empty lines at the beginning
2006-10-06 0.3 hofsve "wellformed" xml-structures won't be changed
2007-02-02 0.4 hofsve it's possible to choose the number of spaces for the indent
2007-08-07 0.5 hofsve the script formats the selected text only or the whole text, if nothing was selected
2007-09-20 1.0 carvin, hofsve full redesign for a better performance and compatibility to (X)HTML. Unclosed link- or meta-tags don't desturb the structuring. Support of self-closed tags (e.g. "<br />") is implemented. The indenting with tab's is implemented too.
2007-09-26 1.1 hofsve fixed: a bug while formating xml-structures, those don't contain a line-break didn't format the xml-structure.
fixed: The script didn't handle closing tags correctly, if there were more than two without an opening tag between.
2007-10-03 1.2 carvin fixed: a bug occured in version 1.1 while formating "<?xml ...".
2007-10-12 1.3 hofsve Character-encoding/-decoding for (x)html-files included. The reformater is enabled for this function too.
hofsve: Sven Hofrichter, carvin: Vincent Caron

Shortcut in PSPad

<CTRL> <ALT> <SHIFT> <X> (format, no en-/decoding)
<CTRL> <ALT> <SHIFT> <H> (format and encode)
<CTRL> <ALT> <SHIFT> <G> (format and decode)

Description

The script encodes all characters that are part of one of the following ASCII-code-groups:

See selfhtml.org for more details around ASCII-codes.

An example should show, how the script work's. See belowing xml-structure and the following three sections, those shows, what the different functions do (the resaults).

The script works on all tag-based structures and does not change the names or attributes and the values of attributes. The encoder replaces the content of tags only! See the examples in your browser.

The Original
XML-Formater only
XML-Formater incl. Encoder
XML-Formater incl. Decoder