Commit graph

506 commits

Author SHA1 Message Date
Geoff McLane 0aa81eb256 Issue #130 - MathML attr and entity fix!
This is a set of kludgy fixes for MathML attribute and entities support.

It is intended that a full HTML5 entity table be added at some time, but
at present ALL entities are accepted as written when within the math
element.

Likewise all attributes are accepted on MathML elements without any check
of their name or value, even if they match attributes outside MathML.

And in the pprinter such entities are written as is from the lexer, using
a new PPrintMathML service added, using the new mode OtherNameSpace.

It is hoped all these fixes will NOT effect tidy outside the math element.

ALL fixes in the set a clearly marked '#130 - MathML attr and entity fix!'
for easy searching, and improving if possible.
2015-02-22 18:58:55 +01:00
Geoff McLane 84f1f4351b add install to build 2015-02-22 18:42:55 +01:00
Geoff McLane 3871707d6b Merge pull request #165 from fred-wang/lang-rang
Use HTML5 mapping for entities ⟨ and ⟩
2015-02-22 13:25:17 +01:00
Frédéric Wang fe51244d4a Use HTML5 mapping for entities ⟨ and ⟩ (http://www.w3.org/TR/xml-entity-names/#diff-xhtml1). #130 2015-02-21 19:33:24 +01:00
Geoff McLane 339f493e0d remove destructive drop-fonts-tags option from default 2015-02-19 19:17:13 +01:00
Geoff McLane b144b834cd Add a show_all_nodes debug service 2015-02-19 19:14:40 +01:00
Jim Derry 94c38e4d2b .gitignore cleanup 2015-02-14 13:55:39 +08:00
Jim Derry acc116477d Github hates definition lists. 2015-02-14 13:50:05 +08:00
Jim Derry 698768391e Removed obsolete output directory. 2015-02-14 13:39:37 +08:00
Jim Derry 96349aedd5 Simplified document build system to single file. Updated README. 2015-02-14 13:38:16 +08:00
Jim Derry 07f90ccc81 Moved htmldoc to build/documentation 2015-02-14 12:12:15 +08:00
Jim Derry 99eb5c9e3e Removed unneeded quickref.css -- now built into the xslt. 2015-02-14 12:08:18 +08:00
Jim Derry 0b910e0420 Removed in-source build of documentation. 2015-02-14 12:07:29 +08:00
Jim Derry fc0ec7c1cf Removed external stylesheet dependency. 2015-02-14 12:06:58 +08:00
Geoff McLane 6e3b293985 Issue #130 - Add TidyAttr_DISPLAY for math tag 2015-02-13 18:37:07 +01:00
Jim Derry cb0b61da70 Access test tidy path. 2015-02-13 19:43:40 +08:00
Jim Derry ca2324ac7c Changed text to point to html-tidy.org 2015-02-13 19:19:51 +08:00
Jim Derry 04f68a032f Changed text to point to html-tidy.org 2015-02-13 19:17:25 +08:00
Jim Derry 212db633f8 New API documentation generated. README with instructions. Updated doxygen.cfg to current version. Fixed broken doxygen paths. Added shell scripts to build quickref and tidy.1. 2015-02-13 15:13:31 +08:00
Jim Derry d9ceece50d Ignore Mac OS X .DS_Store files. 2015-02-13 15:10:59 +08:00
Jim Derry ca9eb839aa Changed license to markdown.
Moved license to top level.
Purged outdated documentation files.
2015-02-13 10:35:14 +08:00
Geoff McLane 7bf364624f bump version for hopefully better fix of #133 2015-02-12 15:38:06 +01:00
Geoff McLane cff3fdd308 Issue #133 - hopefully a better fix.
As predicted the previous fix had adverse consequences on say script text,
which then lost the indent, and was reverted.

This introduces a new service, nodeIsTextLike, which naturally returns yes
if it is text, but also is an AspTag.

Maybe other text like nodes need to be added.
2015-02-12 15:24:38 +01:00
Geoff McLane 5d2cbd10dc Revert "Issue #133 - ever increasing indent!"
This reverts commit 0f80c08355.

This commit had other BAD consequences
2015-02-12 14:56:51 +01:00
Geoff R. McLane b14e3a3a1d Merge branch 'develop-500' of github.com:htacg/tidy-html5 into develop-500 2015-02-12 13:32:55 +01:00
Geoff R. McLane ebc8dce0aa remove development stuff from build script 2015-02-12 13:32:30 +01:00
Jim Derry a968a09de2 Update README.md 2015-02-12 20:11:06 +08:00
Geoff McLane 071407bc24 Merge branch 'develop-500' of github.com:htacg/tidy-html5 into develop-500 2015-02-10 15:32:29 +01:00
Geoff McLane ea50bd30e7 add comment only for potential fix of Issue #8 2015-02-10 15:32:05 +01:00
Geoff McLane 8b362b5f37 bump point on revert to 880221e fix this issue #20 2015-02-10 15:30:35 +01:00
Geoff McLane 279c29bf8d Issue #20 - revert to 880221e fix this issue 2015-02-10 15:28:56 +01:00
Geoff R. McLane 3ff823e766 ignore test71 build 2015-02-07 15:51:35 +01:00
Geoff R. McLane d2cc284456 allow additional commands 2015-02-07 15:50:00 +01:00
Geoff McLane 4bb9418c7c add small 'sample' API use, optional build 2015-02-07 15:33:13 +01:00
Geoff McLane 53dda446d4 allow for additional command line input 2015-02-07 15:31:26 +01:00
Geoff McLane 97470ce459 bump version for issue #155 fix 2015-02-07 13:57:31 +01:00
Geoff McLane cbd9eb7903 Issue #155 - issue warnings unless --show-body-only yes 2015-02-07 13:56:13 +01:00
Geoff McLane 0cf21fb559 bump to 4.9.12 for addition of picture element 2015-02-07 13:43:09 +01:00
Geoff McLane b26291ec6b Issue #151 - Initial implementation of picture element.
TODO: check, verify the picture attribute list.
2015-02-07 13:42:22 +01:00
Geoff McLane bef3b08c18 bump point to 11 for adding srcset and sizes attr to img 2015-02-06 19:26:45 +01:00
Geoff McLane d72e681d32 Issue #152 - add srcset and sizes to img tag 2015-02-06 19:24:04 +01:00
Geoff McLane 906d858f9e bump version point for endif section fix 2015-02-05 19:03:25 +01:00
Geoff McLane 2172a498f6 Issue #153 - fix for endif section no conforming to what tidy expects 2015-02-05 19:01:34 +01:00
Geoff McLane 66951a562a add row/col to DEBUG output 2015-02-05 18:24:02 +01:00
Geoff McLane 383a901990 bumped version point for MathML support 2015-02-05 12:22:14 +01:00
Geoff McLane 1be5ccbb63 Issue #130 - initial MathML support 2015-02-05 12:21:08 +01:00
Geoff McLane 5f470763c5 bump point of Issue #149 fix 2015-02-03 13:39:51 +01:00
Geoff McLane 698396eaa0 Issue #149 - avoid crash on null attr value 2015-02-03 13:38:20 +01:00
Geoff McLane d38c5c5d78 bump version point for this svg support 2015-02-02 17:37:49 +01:00
Geoff McLane 885c7caab7 Issue #70 - Initial implmentation of SVG support.
An immense thanks to Ger Hobbelt who had already done this
in his github.com/GerHobbelt/htmltidy fork.

The two sources have diverges so was not a simple cut
an paste. But again thanks Ger for this.
2015-02-02 17:36:27 +01:00