Commit graph

1559 commits

Author SHA1 Message Date
Geoff McLane 69ade7d1c6 Fix attr def table to match enum
Error made when merging LOADING Is. #879, PR #902

And merging SLOT PR #848

Also added a BIG warning over attribute_defs table to try to avoid this
in future.
2020-11-24 20:25:38 +01:00
Geoff McLane df8ff5c2ab Is. #910 PR #912 Bump to 5.7.42 for this merge/fix 2020-11-22 19:49:35 +01:00
Caleb Callaway 20f1e3c7bc
Fix percentage validation in CheckLength (#912)
Fixes #910
2020-11-22 19:45:32 +01:00
Geoff McLane c0e6d6807e Is #903 PR #907 Bump to 5.7.41 for this merge 2020-11-22 18:05:35 +01:00
Caleb Callaway 91ae1274ac
Add SVG paint attributes (#907)
Fixes #903
2020-11-22 18:02:00 +01:00
Geoff McLane 3202273421 Is. #437 PR #645 Bump to 5.7.40 for this merge 2020-11-22 16:56:20 +01:00
Geoff McLane f49386e191
Issue #437 - re-use of 'wrap-php' option (#645)
closes #437
2020-11-22 16:44:31 +01:00
Geoff McLane a2065f8283 Is. #879 PR #902 Bump to 5.7.39 for this merge. 2020-11-21 18:11:45 +01:00
Geoff McLane e73bd626b3 Is. #879 PR #902 - Per #851 move 'LOADING' to end 2020-11-21 18:09:05 +01:00
Sid Vishnoi e5ef43f6c3
Is. #879: add loading attribute for img, iframe (#902)
Closes #879
2020-11-21 18:03:20 +01:00
Geoff McLane d6cd2538e9 PR #899 Bump to 5.7.38 for this mem leak fix 2020-11-21 17:12:12 +01:00
lutianxiong 8f0e7aa22a
Free attributes before return NULL (#899) 2020-11-21 17:10:12 +01:00
Geoff McLane 2d3ed43f4e Is. #896 PR #898 Bump to 5.7.37 for merge of fix and docs 2020-11-21 17:02:34 +01:00
Geoff McLane c6e0ccce1f
Is. #896 - make 'bear' docs match code (#898)
* Is. #896 - make 'bear' docs match code

* Is. #487 #462 add warn msg and do not get stuck until eof

The warning message could perhaps be better worded, and maybe there
should be another msg when a '>' is encountered while looking for a ']'
in a MS Word section, and perhaps the section should be discarded...

And perhaps it should be an error, to force the user to fix...

But the fix is good as it is, and these issues can be dealt with
later...

And this fix is piggy backed on this PR, but it is likewise related to
'word-2000' option...
2020-11-21 16:47:58 +01:00
Geoff McLane 7cda3aba38 Minor win build changes 2020-11-21 16:39:52 +01:00
Geoff McLane a2967d0699 Is. #848 Bump to ver 5.7.36 for this merge 2020-11-21 16:38:59 +01:00
Geoff McLane 8ca131cbec Is. #848 in line with #851 put new enum at end 2020-11-21 16:37:53 +01:00
lhchavez e51cd17c2d
Support the <slot> tag (#848)
* Support the <slot> tag

<slot> was added to the WHATWG HTML5 Living Standard on April 20, 2016.

* Also support the slot= attribute

Given that the <slot> tag by itself is not too useful, this commit also
introduces support for the global slot attribute.

* Using ParseBlock for <slot>

This is still suboptimal since ParseBlock will make it so that <slot>
always expects "Flow content", whereas the spec says that it should
have a Transparent content model.

In practice, it should allow all the cases that the spec allows for, but
it will also allow some cases that the spec does not allow. Notably, if
a <slot> tag is found in a Phrasing content (an inline context in
libtidy lingo), it will wrongly let Flow content (block tags in libtidy
lingo), whereas it shouldn't. But all in all, it's a good compromise.
2020-11-21 16:31:28 +01:00
Geoff McLane 188988022d Fix typo, in purely DEBUG code, while exploring #863 2020-10-03 20:48:08 +02:00
Geoff McLane 4d833e9fde Merge branch 'next' of github.com:htacg/tidy-html5 into next 2020-10-02 18:34:19 +02:00
Geoff McLane 7cb5c8c6b5 Is. #895 PR #897 mod summary tag - Bump 5.7.35
Closes #895
2020-10-02 18:32:11 +02:00
Geoff McLane e0c1ce3a36 Is. #895 PR #896 mod summary tag - Bump 5.7.35 2020-10-02 18:30:32 +02:00
Geoff McLane 0145af2821
Merge pull request #897 from arrmo/issue-895
Correction for issue-895
2020-10-02 18:25:24 +02:00
Geoff McLane 1698f9b305 PR #886 cmake enhancement - bump 5.7.34 2020-10-02 18:18:29 +02:00
Geoff McLane 60ae043431
Merge pull request #886 from SvenPStarFinanz/next
COMPILE_FLAGS property only once per target, avoid overwriting.
2020-10-02 18:16:04 +02:00
Geoff McLane 2f1b3c53fd PR #884 Fix memleak in GetTokenFromStream - bump 5.7.33 2020-10-02 18:11:06 +02:00
Geoff McLane ddbcd2abd0
Merge pull request #884 from ltx2018/next
fix memleak in GetTokenFromStream
2020-10-02 18:07:33 +02:00
Geoff McLane a26e3033ec PR #881 trans language_pt_br.po - bump 5.7.32 2020-10-02 18:00:10 +02:00
Geoff McLane ebfc930190
Merge pull request #881 from hugotiburtino/complete_pt_br_translation
Complete pt_br translation
2020-10-02 17:57:48 +02:00
Geoff McLane e166e5afe5 PR #853 word-2000 PruneSection fix - bump 5.7.31 2020-10-02 17:51:45 +02:00
Geoff McLane 089d14a19f
Merge pull request #853 from esclim/next
Protect against NULL in PruneSection.
2020-10-02 17:48:06 +02:00
Geoff McLane f7e9de6c07 Is. #761 PR #830 - Bump to 5.7.30 for this fix. Closes #761 2020-10-02 17:23:23 +02:00
Geoff McLane 3dafcf1341
Merge pull request #830 from htacg/issue-761-1
Is. #761 - just deal with the 'uint' wrap
2020-10-02 17:16:45 +02:00
Russell Morris 34cb411dd5 Correction for issue-895
As proposed by @geoffmcl - thanks!
2020-09-30 19:57:08 -05:00
Geoff McLane ed28a4541f Is. #815, PR #832 - no-case 'html' - bump to 5.7.29 2020-09-28 20:31:04 +02:00
Geoff McLane 4b2d5db743
Merge pull request #832 from htacg/issue-815
Is #815 - Use case-insensitive test 'html'
2020-09-28 20:27:20 +02:00
Geoff McLane e10f647f2b Is. #876: add legacy qual. to 'quote-ampersand' opt. 2020-09-28 19:47:37 +02:00
Geoff McLane 442e46f634 Is. #892: correct typo closes #892 2020-09-28 19:39:18 +02:00
Geoff McLane 0473972c46 Update cmake/32 and win64/64 builds 2020-09-28 16:07:35 +02:00
Sven Paschukat 74a7b2ee9d COMPILE_FLAGS property only once per target, avoid overwriting. 2020-06-29 09:02:37 +02:00
lutianxiong 4377ab84a4
fix memleak in GetTokenFromStream
check asp & php if ParseAttribute return NULL
2020-06-20 09:19:17 +08:00
Hugo B Tiburtino 469dc09ac0 Add translation to TC_TXT_HELP_ENV_1A, B and C 2020-05-19 00:42:54 +02:00
Hugo B Tiburtino 1f29bbe803 Add translation to TC_TXT_HELP_3A and TC_TXT_HELP_CONFIG 2020-05-19 00:33:35 +02:00
Hugo B Tiburtino 3a4f1193f8 Add translation to TC_OPT_EXP_CFG and DEF 2020-05-19 00:19:55 +02:00
Hugo B Tiburtino 652a4add85 Add translation to TC_OPT_HELPENV and delete empty spaces at TC_OPT_HELPOPT 2020-05-19 00:16:21 +02:00
Hugo B Tiburtino f6913adb56 Add translation to some lines, e.g. MISSING_ENDTAG_OPTIONAL
Add translation to MISSING_ENDTAG_OPTIONAL, MISSING_QUOTEMARK_OPEN,
OPTION_REMOVED, OPTION_REMOVED_APPLIED, OPTION_REMOVED_UNAPPLIED,
STRING_ARGUMENT_BAD, and STRING_MUTING_TYPE.
2020-05-19 00:05:43 +02:00
Hugo B Tiburtino 1b4e863c23 Add translation to MALFORMED_COMMENT_DROPPING, EOS and WARN 2020-05-18 23:53:28 +02:00
Hugo B Tiburtino 6d99e27409 Add translation to "FOOTNOTE_TRIM_EMPTY_ELEMENT" 2020-05-18 23:44:07 +02:00
Hugo B Tiburtino b895ebc1d7 Correct: translate "warning" as "aviso", not "acesso" 2020-05-18 23:37:03 +02:00
Hugo B Tiburtino 85f0b658fd Add translation to "TidyMuteShow" 2020-05-18 23:05:15 +02:00