From 0a7d2244f49999ea8df8e4bf367a79ced118e523 Mon Sep 17 00:00:00 2001 From: Jan Nicklas Date: Sun, 29 Jan 2017 13:42:52 +0100 Subject: [PATCH] Rename `closingTag` into `voidTag` like in the official w3c spec. Provide a `createHtmlTagObject` helper for plugin authors to create new tags. --- .node-version | 1 + CHANGELOG.md | 5 ++++ README.md | 5 ++-- index.js | 68 +++++++++++++++--------------------------------- lib/html-tags.js | 44 +++++++++++++++++++++++++++++++ 5 files changed, 74 insertions(+), 49 deletions(-) create mode 100644 .node-version create mode 100644 lib/html-tags.js diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..cc2fbe8 --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +4.3.2 diff --git a/CHANGELOG.md b/CHANGELOG.md index 0dc9f56..ad37de3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Change History ============== +v3.x +--- +* Rename `closingTag` into `voidTag` like in the official w3c spec. +* Provide a `createHtmlTagObject` helper for plugin authors to create new tags. + v2.26.0 --- * Allow plugins to add attributes without values to the `