[Pkg-javascript-commits] [node-entities] 21/63: readme: xml isn't treated specially anymore

Wolfgang Borgert debacle at moszumanska.debian.org
Mon Sep 22 08:15:45 UTC 2014


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to branch master
in repository node-entities.

commit 410f8084cb80a22f79ad38983410cf04c8fc9880
Author: Felix Böhm <me at feedic.com>
Date:   Sat Apr 20 00:45:11 2013 +0300

    readme: xml isn't treated specially anymore
    
    and the todo notice was stupid (if you need to do this, use `delete`)
---
 readme.md | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/readme.md b/readme.md
index f103c83..ebd87df 100644
--- a/readme.md
+++ b/readme.md
@@ -6,13 +6,12 @@ En- & decoder for XML/HTML entities.
 * Focussed on ___speed___
 * Supports three levels of entities: __XML__, __HTML4__ & __HTML5__
     * Supports _char code_ entities (eg. `&#x55;`)
-    * Special optimizations for XML: A more restrictive syntax allows faster parsing
 
 ##How to…
 
 ###…install `entities`
 
-    npm install entities
+    npm i entities
 
 ###…use `entities`
 
@@ -26,6 +25,3 @@ require("entities").decode(<str> data[, <int> level]);
 The `level` attribute indicates what level of entities should be decoded (0 = XML, 1 = HTML4 and 2 = HTML5). The default is 0 (read: XML).
 
 There are also methods to access the level directly. Just append the name of the level to the action and you're ready to go (e.g. `encodeHTML4(data)`, `decodeXML(data)`).
-
-##TODO
-* There should be a way to remove tables that aren't used. The HTML5 table is pretty heavy, if it's not needed, it shouldn't be kept in memory.
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-entities.git



More information about the Pkg-javascript-commits mailing list