From f0438bd4b8cd2b50433b9b00cedad1c20d0486f9 Mon Sep 17 00:00:00 2001 From: Jim Derry Date: Sat, 25 Nov 2017 15:27:13 -0500 Subject: [PATCH 001/182] Bumped next to 5.7.0 per our version numbering scheme. --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index d267e8b..f71e9d4 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.6.0 +5.7.0 2017.11.25 From a0414d65a69927808240e41c1235145413978c43 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Sat, 16 Dec 2017 20:54:29 +0100 Subject: [PATCH 002/182] Issue #656 - protect against NULL node set in loop --- src/clean.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/clean.c b/src/clean.c index de4caf5..e96dd3f 100644 --- a/src/clean.c +++ b/src/clean.c @@ -2211,8 +2211,10 @@ Bool TY_(TidyMetaCharset)(TidyDocImpl* doc) tidyBufAppend(&charsetString, "charset=", 8); tidyBufAppend(&charsetString, (char*)enc, TY_(tmbstrlen)(enc)); tidyBufAppend(&charsetString, "\0", 1); /* zero terminate the buffer */ - /* process the children of the head */ - for (currentNode = head->content; currentNode; currentNode = currentNode->next) + /* process the children of the head */ + /* Issue #656 - guard against 'currentNode' being set NULL in loop */ + for (currentNode = head->content; currentNode; + currentNode = (currentNode ? currentNode->next : NULL)) { if (!nodeIsMETA(currentNode)) continue; /* not a meta node */ From 629843401d97ee4225c73403f5aa5211d35ab6a6 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Sat, 16 Dec 2017 21:10:04 +0100 Subject: [PATCH 003/182] Issue #655 - Fix unsafe use of output buffer as input param --- src/messageobj.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/messageobj.c b/src/messageobj.c index 6f76152..9d9cee2 100644 --- a/src/messageobj.c +++ b/src/messageobj.c @@ -158,8 +158,17 @@ static TidyMessageImpl *tidyMessageCreateInitV( TidyDocImpl *doc, if ( ( cfgBool(doc, TidyMuteShow) == yes ) && level <= TidyFatal ) { - TY_(tmbsnprintf)(result->messageOutputDefault, sizeMessageBuf, "%s (%s)", result->messageOutputDefault, TY_(tidyErrorCodeAsKey)(code) ); - TY_(tmbsnprintf)(result->messageOutput, sizeMessageBuf, "%s (%s)", result->messageOutput, TY_(tidyErrorCodeAsKey)(code) ); + /*\ Issue #655 - Unsafe to use output buffer as one of the va_list + * input parameters in some snprintf implmentations. + \*/ + ctmbstr pc = TY_(tidyErrorCodeAsKey)(code); + i = TY_(tmbstrlen)(result->messageOutputDefault); + if (i < sizeMessageBuf) + TY_(tmbsnprintf)(result->messageOutputDefault + i, sizeMessageBuf - i, " (%s)", pc ); + i = TY_(tmbstrlen)(result->messageOutput); + if (i < sizeMessageBuf) + TY_(tmbsnprintf)(result->messageOutput + i, sizeMessageBuf - i, " (%s)", pc ); + i = 0; } result->allowMessage = yes; From 7f9e02b2fbfa89fe93be0e89a02a7abc3ec69b8b Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Sat, 23 Dec 2017 17:36:05 +0100 Subject: [PATCH 004/182] Is #663 - Small change for MSVC10 --- src/tidylib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tidylib.c b/src/tidylib.c index 85d59e2..ce72acd 100644 --- a/src/tidylib.c +++ b/src/tidylib.c @@ -1436,8 +1436,8 @@ int TY_(DocParseStream)( TidyDocImpl* doc, StreamIn* in ) Bool xmlIn = cfgBool( doc, TidyXmlTags ); TidyConfigChangeCallback callback = doc->pConfigChangeCallback; - doc->pConfigChangeCallback = NULL; int bomEnc; + doc->pConfigChangeCallback = NULL; assert( doc != NULL && in != NULL ); assert( doc->docIn == NULL ); From 7af9e1843b0ddcb96d235ee9a2f73eb6630f7227 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Sat, 23 Dec 2017 18:27:53 +0100 Subject: [PATCH 005/182] Is #663 - Remove UTF-8 BOM from 6 lang. headers --- src/language_en_gb.h | 3 ++- src/language_es.h | 3 ++- src/language_es_mx.h | 3 ++- src/language_fr.h | 3 ++- src/language_pt_br.h | 3 ++- src/language_zh_cn.h | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/src/language_en_gb.h b/src/language_en_gb.h index 97cc696..71c37e4 100644 --- a/src/language_en_gb.h +++ b/src/language_en_gb.h @@ -1,4 +1,4 @@ -#ifndef language_en_gb_h +#ifndef language_en_gb_h #define language_en_gb_h /* * language_en_gb.h @@ -180,3 +180,4 @@ static languageDefinition language_en_gb = { whichPluralForm_en_gb, { #endif /* language_en_gb_h */ + diff --git a/src/language_es.h b/src/language_es.h index eff66e4..14f51e5 100644 --- a/src/language_es.h +++ b/src/language_es.h @@ -1,4 +1,4 @@ -#ifndef language_es_h +#ifndef language_es_h #define language_es_h /* * language_es.h @@ -131,3 +131,4 @@ static languageDefinition language_es = { whichPluralForm_es, { #endif /* language_es_h */ + diff --git a/src/language_es_mx.h b/src/language_es_mx.h index 7f061b6..55b1b3a 100644 --- a/src/language_es_mx.h +++ b/src/language_es_mx.h @@ -1,4 +1,4 @@ -#ifndef language_es_mx_h +#ifndef language_es_mx_h #define language_es_mx_h /* * language_es_mx.h @@ -76,3 +76,4 @@ static languageDefinition language_es_mx = { whichPluralForm_es_mx, { #endif /* language_es_mx_h */ + diff --git a/src/language_fr.h b/src/language_fr.h index c6140e9..aeaaa6f 100644 --- a/src/language_fr.h +++ b/src/language_fr.h @@ -1,4 +1,4 @@ -#ifndef language_fr_h +#ifndef language_fr_h #define language_fr_h /* * language_fr.h @@ -1172,3 +1172,4 @@ static languageDefinition language_fr = { whichPluralForm_fr, { #endif /* language_fr_h */ + diff --git a/src/language_pt_br.h b/src/language_pt_br.h index 2b65d88..f64fd32 100644 --- a/src/language_pt_br.h +++ b/src/language_pt_br.h @@ -1,4 +1,4 @@ -#ifndef language_pt_br_h +#ifndef language_pt_br_h #define language_pt_br_h /* * language_pt_br.h @@ -1294,3 +1294,4 @@ static languageDefinition language_pt_br = { whichPluralForm_pt_br, { #endif /* language_pt_br_h */ + diff --git a/src/language_zh_cn.h b/src/language_zh_cn.h index 2321974..1919fa5 100644 --- a/src/language_zh_cn.h +++ b/src/language_zh_cn.h @@ -1,4 +1,4 @@ -#ifndef language_zh_cn_h +#ifndef language_zh_cn_h #define language_zh_cn_h /* * language_zh_cn.h @@ -78,3 +78,4 @@ static languageDefinition language_zh_cn = { whichPluralForm_zh_cn, { #endif /* language_zh_cn_h */ + From 723c28afb349a1185d61d32f08357912d8571587 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Mon, 25 Dec 2017 03:23:57 +0100 Subject: [PATCH 006/182] Is #663 - Add 'Haiku' port, '__HAIKU__' --- include/tidyplatform.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/include/tidyplatform.h b/include/tidyplatform.h index 28de468..ca169dc 100644 --- a/include/tidyplatform.h +++ b/include/tidyplatform.h @@ -315,6 +315,15 @@ extern "C" { # endif #endif +/* === Convenience defines for Haiku platforms === */ + +#if defined(__HAIKU__) +# define HAIKU +# ifndef PLATFORM_NAME +# define PLATFORM_NAME "Haiku" +# endif +#endif + /* === Convenience defines for Cygwin platforms === */ #if defined(__CYGWIN__) @@ -428,7 +437,7 @@ extern "C" { #if PRESERVE_FILE_TIMES # ifndef HAS_FUTIME -# if defined(CYGWIN_OS) || defined(BE_OS) || defined(OS2_OS) || defined(HPUX_OS) || defined(SOLARIS_OS) || defined(LINUX_OS) || defined(BSD_BASED_OS) || defined(MAC_OS) || defined(__MSL__) || defined(IRIX_OS) || defined(AIX_OS) || defined(__BORLANDC__) || defined(__GLIBC__) +# if defined(CYGWIN_OS) || defined(BE_OS) || defined(OS2_OS) || defined(HPUX_OS) || defined(SOLARIS_OS) || defined(LINUX_OS) || defined(BSD_BASED_OS) || defined(MAC_OS) || defined(__MSL__) || defined(IRIX_OS) || defined(AIX_OS) || defined(__BORLANDC__) || defined(__GLIBC__) || defined(__HAIKU__) # define HAS_FUTIME 0 # else # define HAS_FUTIME 1 @@ -456,6 +465,12 @@ extern "C" { # include # endif +#if defined(__HAIKU__) +#ifndef va_copy +#define va_copy(dest, src) (dest = src) +#endif +#endif + /* MS Windows needs _ prefix for Unix file functions. Not required by Metrowerks Standard Library (MSL). @@ -549,7 +564,7 @@ extern "C" { # include #endif -#if !defined(HPUX_OS) && !defined(CYGWIN_OS) && !defined(MAC_OS_X) && !defined(BE_OS) && !defined(SOLARIS_OS) && !defined(BSD_BASED_OS) && !defined(OSF_OS) && !defined(IRIX_OS) && !defined(AIX_OS) && !defined(LINUX_OS) +#if !defined(HPUX_OS) && !defined(CYGWIN_OS) && !defined(MAC_OS_X) && !defined(BE_OS) && !defined(SOLARIS_OS) && !defined(BSD_BASED_OS) && !defined(OSF_OS) && !defined(IRIX_OS) && !defined(AIX_OS) && !defined(LINUX_OS) && !defined(__HAIKU__) # undef uint typedef unsigned int uint; #endif From a33520ad858f1dd23148b1e121cdea5f8db14637 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Mon, 25 Dec 2017 03:25:29 +0100 Subject: [PATCH 007/182] Is #663 - Add language limit for 'Haiku' gcc 2.95 --- src/language.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/language.c b/src/language.c index d55938c..3a794a0 100644 --- a/src/language.c +++ b/src/language.c @@ -22,12 +22,13 @@ /** * This structure type provides universal access to all of Tidy's strings. + * Note arbitrary limit of 256, to be changed if more... */ typedef struct { Bool manually_set; languageDefinition *currentLanguage; languageDefinition *fallbackLanguage; - languageDefinition *languages[]; + languageDefinition *languages[256]; } tidyLanguagesType; From ccde058772ab4e8c23b78281da67621e5477cbc9 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Mon, 25 Dec 2017 03:26:53 +0100 Subject: [PATCH 008/182] Is #663 - Open context for gcc 2.95 port --- src/tidylib.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/tidylib.c b/src/tidylib.c index ce72acd..67d7a37 100644 --- a/src/tidylib.c +++ b/src/tidylib.c @@ -1135,14 +1135,16 @@ int tidyDocParseFile( TidyDocImpl* doc, ctmbstr filnam ) fin = fopen( filnam, "rb" ); #if PRESERVE_FILE_TIMES - struct stat sbuf = {0}; - /* get last modified time */ - TidyClearMemory( &doc->filetimes, sizeof(doc->filetimes) ); - if ( fin && cfgBool(doc,TidyKeepFileTimes) && - fstat(fileno(fin), &sbuf) != -1 ) { - doc->filetimes.actime = sbuf.st_atime; - doc->filetimes.modtime = sbuf.st_mtime; + struct stat sbuf = { 0 }; + /* get last modified time */ + TidyClearMemory(&doc->filetimes, sizeof(doc->filetimes)); + if (fin && cfgBool(doc, TidyKeepFileTimes) && + fstat(fileno(fin), &sbuf) != -1) + { + doc->filetimes.actime = sbuf.st_atime; + doc->filetimes.modtime = sbuf.st_mtime; + } } #endif From 28be79db50d2ecf6730068167d8ed23987fa8d59 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Mon, 25 Dec 2017 18:10:29 +0100 Subject: [PATCH 009/182] Is #663 - Reduce static alloc to as required --- src/language.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/language.c b/src/language.c index 3a794a0..fd89730 100644 --- a/src/language.c +++ b/src/language.c @@ -22,13 +22,13 @@ /** * This structure type provides universal access to all of Tidy's strings. - * Note arbitrary limit of 256, to be changed if more... + * Note limit of 8, to be changed as more added... */ typedef struct { Bool manually_set; languageDefinition *currentLanguage; languageDefinition *fallbackLanguage; - languageDefinition *languages[256]; + languageDefinition *languages[8]; } tidyLanguagesType; From 5408bb70fdb8bbdb5c423b312ec20e957df1c6b0 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Mon, 1 Jan 2018 18:19:34 +0100 Subject: [PATCH 010/182] Is #656 PR #661 - Bump to 5.7.1 for this merge --- version.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.txt b/version.txt index f71e9d4..f3eef71 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.0 -2017.11.25 +5.7.1 +2018.01.01 From 8731f25aa99be0055bdafa4e4d957f061e5dc47d Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Mon, 1 Jan 2018 18:25:17 +0100 Subject: [PATCH 011/182] Is #655 PR #662 - Bump to 5.7.2 for this merge --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index f3eef71..376b382 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.1 +5.7.2 2018.01.01 From 0c182bbfa105821b8ab526ef3b908a0975183da2 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Mon, 1 Jan 2018 18:29:34 +0100 Subject: [PATCH 012/182] Is #663 PR #664 - Bump to 5.7.3 for this merge --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 376b382..1286c84 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.2 +5.7.3 2018.01.01 From 67eaeb6d18563e223344b00f98d6ad42000d8285 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Wed, 14 Feb 2018 18:50:36 +0100 Subject: [PATCH 013/182] Is #673 - Revert 350f7b4 and 86e62db While these look like a code cleanup, they appear to have an adverse consequence in the use of libtidy by PHP 7+, so have been reverted. modified: src/config.c modified: src/config.h modified: src/tidylib.c --- src/config.c | 7 ++++++- src/config.h | 6 ------ src/tidylib.c | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/config.c b/src/config.c index cb53989..ca3e860 100644 --- a/src/config.c +++ b/src/config.c @@ -303,6 +303,7 @@ static const struct { /* forward declarations */ +static void AdjustConfig( TidyDocImpl* doc ); static Bool GetPickListValue( ctmbstr value, PickListItems* pickList, uint *result ); @@ -711,6 +712,7 @@ void TY_(TakeConfigSnapshot)( TidyDocImpl* doc ) const TidyOptionValue* value = &doc->config.value[ 0 ]; TidyOptionValue* snap = &doc->config.snapshot[ 0 ]; + AdjustConfig( doc ); /* Make sure it's consistent */ for ( ixVal=0; ixVal < N_TIDY_OPTIONS; ++option, ++ixVal ) { assert( ixVal == (uint) option->id ); @@ -759,6 +761,7 @@ void TY_(CopyConfig)( TidyDocImpl* docTo, TidyDocImpl* docFrom ) } if ( needReparseTagsDecls ) ReparseTagDecls( docTo, changedUserTags ); + AdjustConfig( docTo ); /* Make sure it's consistent */ } } @@ -1052,6 +1055,8 @@ int TY_(ParseConfigFileEnc)( TidyDocImpl* doc, ctmbstr file, ctmbstr charenc ) if ( fname != (tmbstr) file ) TidyDocFree( doc, fname ); + AdjustConfig( doc ); + /* any new config errors? If so, return warning status. */ return (doc->optionErrors > opterrs ? 1 : 0); } @@ -1190,7 +1195,7 @@ Bool TY_(AdjustCharEncoding)( TidyDocImpl* doc, int encoding ) /* ensure that config is self consistent */ -void TY_(AdjustConfig)( TidyDocImpl* doc ) +static void AdjustConfig( TidyDocImpl* doc ) { if ( cfgBool(doc, TidyEncloseBlockText) ) TY_(SetOptionBool)( doc, TidyEncloseBodyText, yes ); diff --git a/src/config.h b/src/config.h index 41e1b4f..d89338d 100644 --- a/src/config.h +++ b/src/config.h @@ -335,12 +335,6 @@ Bool TY_(ParseConfigValue)( TidyDocImpl* doc, TidyOptionId optId, ctmbstr optVa Bool TY_(AdjustCharEncoding)( TidyDocImpl* doc, int encoding ); -/** Ensure that the configuration options are self consistent. - ** @param doc The Tidy document to adjust. - */ -void TY_(AdjustConfig)( TidyDocImpl* doc ); - - /** Indicates whether or not the current configuration is completely default. ** @param doc The Tidy document. ** @returns The result. diff --git a/src/tidylib.c b/src/tidylib.c index 67d7a37..31754ab 100644 --- a/src/tidylib.c +++ b/src/tidylib.c @@ -1447,7 +1447,6 @@ int TY_(DocParseStream)( TidyDocImpl* doc, StreamIn* in ) TY_(ResetTags)(doc); /* reset table to html5 mode */ TY_(TakeConfigSnapshot)( doc ); /* Save config state */ - TY_(AdjustConfig)( doc ); /* ensure config consistency */ TY_(FreeAnchors)( doc ); TY_(FreeNode)(doc, &doc->root); From ea4ae0dd13d1767925e728f0bec721b19a3f7ea2 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Mon, 19 Feb 2018 03:21:04 +0100 Subject: [PATCH 014/182] Is #679 - some fixes for -export-config --- console/tidy.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++---- src/config.c | 3 ++ 2 files changed, 75 insertions(+), 6 deletions(-) diff --git a/console/tidy.c b/console/tidy.c index fce4d94..8f3dcc6 100644 --- a/console/tidy.c +++ b/console/tidy.c @@ -1484,6 +1484,33 @@ static void optionvalues( TidyDoc tdoc ) ** @{ */ +/* Is #697 - specialised service to 'invert' a buffers content + split on a space character */ +static void invertBuffer(TidyBuffer *src, TidyBuffer *dst) +{ + uint len = src->size; + char *in = (char *)src->bp; + char *cp; + if (!in) + return; + while (len) + { + unsigned char uc; + len--; + uc = in[len]; + if (uc == ' ') + { + in[len] = 0; + cp = &in[len + 1]; + if (dst->size) + tidyBufAppend(dst, " ", 1); + tidyBufAppend(dst, cp, strlen(cp)); + } + } + if (dst->size) + tidyBufAppend(dst, " ", 1); + tidyBufAppend(dst, in, strlen(in)); +} /** Prints the option value for a given option. */ @@ -1493,6 +1520,7 @@ static void printOptionExportValues(TidyDoc ARG_UNUSED(tdoc), /**< The Tidy doc ) { TidyOptionId optId = tidyOptGetId( topt ); + TidyBuffer buf1, buf2; if ( tidyOptGetCategory(topt) == TidyInternalCategory ) return; @@ -1505,18 +1533,56 @@ static void printOptionExportValues(TidyDoc ARG_UNUSED(tdoc), /**< The Tidy doc case TidyPreTags: { TidyIterator pos = tidyOptGetDeclTagList( tdoc ); - while ( pos ) + if ( pos ) /* Is #697 - one or more values */ { - d->def = tidyOptGetNextDeclTag(tdoc, optId, &pos); - if ( pos ) + tidyBufInit(&buf1); + tidyBufInit(&buf2); + while (pos) { - printf( "%s: %s\n", d->name, d->def ); - d->name = ""; - d->type = ""; + d->def = tidyOptGetNextDeclTag(tdoc, optId, &pos); + if (d->def) + { + if (buf1.size) + tidyBufAppend(&buf1, " ", 1); + tidyBufAppend(&buf1, d->def, strlen(d->def)); + } } + invertBuffer(&buf1, &buf2); /* Is #697 - specialised service to invert words */ + tidyBufAppend(&buf2, (void *)"\0", 1); /* is this really required? */ + printf("%s: %s\n", d->name, buf2.bp); + d->name = ""; + d->type = ""; + d->def = 0; + tidyBufFree(&buf1); + tidyBufFree(&buf2); } } break; + case TidyPriorityAttributes: /* Is #697 - This case seems missing */ + { + TidyIterator itAttr = tidyOptGetPriorityAttrList(tdoc); + if (itAttr && (itAttr != (TidyIterator)-1)) + { + tidyBufInit(&buf1); + while (itAttr) + { + d->def = tidyOptGetNextPriorityAttr(tdoc, &itAttr); + if (d->def) + { + if (buf1.size) + tidyBufAppend(&buf1, " ", 1); + tidyBufAppend(&buf1, d->def, strlen(d->def)); + } + } + tidyBufAppend(&buf1, (void *)"\0", 1); /* is this really required? */ + printf("%s: %s\n", d->name, buf1.bp); + d->name = ""; + d->type = ""; + d->def = 0; + tidyBufFree(&buf1); + } + } + break; default: break; } diff --git a/src/config.c b/src/config.c index cb53989..f2c4cb6 100644 --- a/src/config.c +++ b/src/config.c @@ -1476,9 +1476,12 @@ Bool ParseCSS1Selector( TidyDocImpl* doc, const TidyOptionImpl* option ) return no; } + buf[i] = 0; /* Is #697 - Do *not* add '-' */ +#if 0 /* Is #697 - Is this still required? KEEP HISTORY - DO NOT DELETE */ buf[i++] = '-'; /* Make sure any escaped Unicode is terminated */ buf[i] = 0; /* so valid class names are generated after */ /* Tidy appends last digits. */ +#endif /* Is #697 - Is this still required? */ SetOptionValue( doc, option->id, buf ); return yes; From bb7c49465710d0c64a22a6d905d489d528137dd1 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Mon, 19 Feb 2018 17:22:12 +0100 Subject: [PATCH 015/182] Is #679 - add 'priority-attributes' to -show-config --- console/tidy.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/console/tidy.c b/console/tidy.c index 8f3dcc6..d6f3ec7 100644 --- a/console/tidy.c +++ b/console/tidy.c @@ -1445,6 +1445,24 @@ static void printOptionValues(TidyDoc ARG_UNUSED(tdoc), /**< The Tidy document. } } break; + case TidyPriorityAttributes: /* Is #697 - This case seems missing */ + { + TidyIterator itAttr = tidyOptGetPriorityAttrList(tdoc); + if (itAttr && (itAttr != (TidyIterator)-1)) + { + while (itAttr) + { + d->def = tidyOptGetNextPriorityAttr(tdoc, &itAttr); + if (itAttr) + { + printf(fmt, d->name, d->type, d->def); + d->name = ""; + d->type = ""; + } + } + } + } + break; default: break; } From db02d4504b32d1549f3814b31824180e90d8c4b6 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Thu, 8 Mar 2018 18:10:23 +0100 Subject: [PATCH 016/182] Is #686 - Add attr COLOR to W3CAttrsFor_LINK --- src/attrdict.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/attrdict.c b/src/attrdict.c index c9ee060..f8d58e7 100644 --- a/src/attrdict.c +++ b/src/attrdict.c @@ -1955,6 +1955,7 @@ const AttrVersion TY_(W3CAttrsFor_LINK)[] = { TidyAttr_AS, xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|HT50|XH50 }, { TidyAttr_CHARSET, xxxx|xxxx|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|XB10|xxxx|xxxx }, { TidyAttr_CLASS, xxxx|xxxx|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|XB10|HT50|XH50 }, /* CORE override */ + { TidyAttr_COLOR, xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|HT50|XH50 }, /* Is #686 */ { TidyAttr_CROSSORIGIN, xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|xxxx|HT50|XH50 }, { TidyAttr_DIR, xxxx|xxxx|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|xxxx|HT50|XH50 }, /* CORE override */ { TidyAttr_HREF, HT20|HT32|H40T|H41T|X10T|H40F|H41F|X10F|H40S|H41S|X10S|XH11|XB10|HT50|XH50 }, From 3843cdc3aab46dc9528c545527b5985b41a673c9 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Sat, 17 Mar 2018 14:24:27 +0100 Subject: [PATCH 017/182] Is #692 - correct message titles in head --- src/message.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/message.c b/src/message.c index eb097de..0c1ff4c 100644 --- a/src/message.c +++ b/src/message.c @@ -851,8 +851,10 @@ TidyMessageImpl *formatStandard(TidyDocImpl* doc, Node *element, Node *node, uin case COERCE_TO_ENDTAG: case NON_MATCHING_ENDTAG: - case TOO_MANY_ELEMENTS_IN: return TY_(tidyMessageCreateWithNode)(doc, rpt, code, level, node->element, node->element ); + case TOO_MANY_ELEMENTS_IN: + return TY_(tidyMessageCreateWithNode)(doc, rpt, code, level, node->element, element->element); + } return NULL; From 6f37505704ec37a59750f09a7ec51ed96a1102cf Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Tue, 20 Mar 2018 15:42:21 +0100 Subject: [PATCH 018/182] Is #698 - Mention colon in 'man' text --- man/tidy1.xsl.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/man/tidy1.xsl.in b/man/tidy1.xsl.in index 0fbae79..a1d9cfd 100644 --- a/man/tidy1.xsl.in +++ b/man/tidy1.xsl.in @@ -75,8 +75,9 @@ They are listed in the first part of this section. \fIConfiguration\fR options, on the other hand, can either be passed on the command line, starting with two dashes \fB--\fR, or specified in a configuration file, -using the option name without the starting dashes. -They are listed in the second part of this section. +using the option name, followed by a colon \fB:\fR, plus the value, without +the starting dashes. They are listed in the second part of this section, +with a sample config file. .LP For \fIcommand-line\fR options that expect a numerical argument, a default is assumed if no meaningful value can be found. From e36df3b4cd8c3d842d2fe7480d752a4e15f3d8eb Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Tue, 20 Mar 2018 19:52:35 +0100 Subject: [PATCH 019/182] Is #697 - Add NOWRAP to print of pre tag --- src/pprint.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pprint.c b/src/pprint.c index 57cd7b1..321045e 100644 --- a/src/pprint.c +++ b/src/pprint.c @@ -2143,7 +2143,8 @@ void TY_(PPrintTree)( TidyDocImpl* doc, uint mode, uint indent, Node *node ) TY_(PFlushLineSmart)( doc, indent ); } - PPrintTag( doc, mode, indent, node ); /* add
 or 
+        
+
+
diff --git a/regression_testing/cases/legacy-cases/case-437468@0.html b/regression_testing/cases/legacy-cases/case-437468@0.html
new file mode 100644
index 0000000..dd67848
--- /dev/null
+++ b/regression_testing/cases/legacy-cases/case-437468@0.html
@@ -0,0 +1,9 @@
+
+ 
+ 
+Test input file for iso-8859-1 character entities 
+
+
+

Phrase with numeric quotes expressly stated: “Dj conu l're de Cafne”

+ + diff --git a/regression_testing/cases/legacy-cases/case-438650@1.html b/regression_testing/cases/legacy-cases/case-438650@1.html new file mode 100644 index 0000000..55c8a19 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-438650@1.html @@ -0,0 +1,9 @@ + + +[ #438650 ] Newline in URL attr value becomes space + + +This is a test + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-438658@1.html b/regression_testing/cases/legacy-cases/case-438658@1.html new file mode 100644 index 0000000..9eb1d49 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-438658@1.html @@ -0,0 +1,8 @@ + + +[ #438658 ] Missing / in title endtag makes 2 titles<title> +</head> +<body> +Test +</body> +</html> \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-438954.conf b/regression_testing/cases/legacy-cases/case-438954.conf new file mode 100644 index 0000000..0443dc3 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-438954.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #438954 +omit-optional-tags: yes diff --git a/regression_testing/cases/legacy-cases/case-438954@0.html b/regression_testing/cases/legacy-cases/case-438954@0.html new file mode 100644 index 0000000..39d0277 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-438954@0.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<title>[ #438954 ] Body tag w/attributes omitted w/hide-end + + +Use "--hide-endtags yes" on command line + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-438956@1.html b/regression_testing/cases/legacy-cases/case-438956@1.html new file mode 100644 index 0000000..4f3123a --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-438956@1.html @@ -0,0 +1,8 @@ + + +[ #438956 ] Bad head-endtag reported incorrectly + + +Test + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-441508@1.html b/regression_testing/cases/legacy-cases/case-441508@1.html new file mode 100644 index 0000000..b903052 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-441508@1.html @@ -0,0 +1,10 @@ + +[ #441508 ] parser.c: BadForm() function broken + + + +
Test
+ + + + + [ #441568 ] Font tags handling different + + +
+ +text-one + +
+ +text-two + + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-443362@1.html b/regression_testing/cases/legacy-cases/case-443362@1.html new file mode 100644 index 0000000..30f3aad --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-443362@1.html @@ -0,0 +1,31 @@ + + + + +[ #443362 ] null-pointer except. for doctype in pre + + + +

Unofficial W3C Validator FAQ

+

This is a list of frequently asked questions and answers asked on the +www-validator-css@w3.org mailing list. + +

+What does "org.xml.sax.SAXException: +Please, fix your system identifier (URI) in the DOCTYPE rule." mean? +

+ +

Your XHTML document contains a document type +declaration but the system identifier points at some +non-W3C URI. Your document probably contains something +like this: +

+
 
+ 
+
+
+ + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-443576.conf b/regression_testing/cases/legacy-cases/case-443576.conf new file mode 100644 index 0000000..2db0343 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-443576.conf @@ -0,0 +1,9 @@ +// now that skip-nested defaults to 'on', need it off for this test +skip-nested: no +// plus default HTML Tidy configuration - 20150219 +indent: auto +char-encoding: latin1 +tidy-mark: no +clean: yes +logical-emphasis: yes +indent-attributes: yes diff --git a/regression_testing/cases/legacy-cases/case-443576@1.html b/regression_testing/cases/legacy-cases/case-443576@1.html new file mode 100644 index 0000000..a67877b --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-443576@1.html @@ -0,0 +1,14 @@ + + + +[ #443576 ] End script tag inside scripts problem + + + + + diff --git a/regression_testing/cases/legacy-cases/case-443678@1.html b/regression_testing/cases/legacy-cases/case-443678@1.html new file mode 100644 index 0000000..2fe2cc9 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-443678@1.html @@ -0,0 +1,19 @@ + + +[ #443678 ] Unclosed <script> in <head> messes Tidy + + + + diff --git a/regression_testing/cases/legacy-cases/case-445074@1.html b/regression_testing/cases/legacy-cases/case-445074@1.html new file mode 100644 index 0000000..761d0d3 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-445074@1.html @@ -0,0 +1,19 @@ + + + +[ #445074 ] XHTML requires form method="post" + + +
+ + + + +
+ +
+
+ + + diff --git a/regression_testing/cases/legacy-cases/case-445394@1.html b/regression_testing/cases/legacy-cases/case-445394@1.html new file mode 100644 index 0000000..626aa64 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-445394@1.html @@ -0,0 +1,8 @@ + + +[ #445394 ] Improve handling of missing trailing " + + +link + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-445557.conf b/regression_testing/cases/legacy-cases/case-445557.conf new file mode 100644 index 0000000..b883116 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-445557.conf @@ -0,0 +1,9 @@ +// HTML Tidy configuration - 20171117 +indent: auto +char-encoding: latin1 +tidy-mark: no +clean: yes +logical-emphasis: yes +indent-attributes: yes +numeric-entities: yes + diff --git a/regression_testing/cases/legacy-cases/case-445557@1.html b/regression_testing/cases/legacy-cases/case-445557@1.html new file mode 100644 index 0000000..f1be0b8 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-445557@1.html @@ -0,0 +1,22 @@ + + + +[ #445557 ] Convert Symbol font chars to Unicode + + +

The predicate calculus has a number of theorems and axioms for proving logical statements. Here are the main symbols used in predicate calculus:

+

P(x) – proposition – a logical statement in the condition x.

+

x – any condition in the set of possible conditions.

+

c – a particular condition in the set of possible conditions.

+

" + – "For every"

+

$ + – "Exists"

+

® + – Implication

+

Ù + – Conjunction (logical and)

+

Ú + – Disjunction (logical or)

+ + diff --git a/regression_testing/cases/legacy-cases/case-449348.conf b/regression_testing/cases/legacy-cases/case-449348.conf new file mode 100644 index 0000000..8717b2c --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-449348.conf @@ -0,0 +1 @@ +output-xhtml: yes diff --git a/regression_testing/cases/legacy-cases/case-449348@0.html b/regression_testing/cases/legacy-cases/case-449348@0.html new file mode 100644 index 0000000..d6d3277 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-449348@0.html @@ -0,0 +1,14 @@ + + + +[ #449348 ] Whitespace added/removed to inline tags + + +

Make this wrap at the end of the line12345678: white-spacejoebob

+ +

This is long enough a wrap at the next line text +...

+ + + diff --git a/regression_testing/cases/legacy-cases/case-470663.conf b/regression_testing/cases/legacy-cases/case-470663.conf new file mode 100644 index 0000000..f00aace --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-470663.conf @@ -0,0 +1,3 @@ +// Tidy configuration file for bug #470663 +word-2000: yes + diff --git a/regression_testing/cases/legacy-cases/case-470663@1.html b/regression_testing/cases/legacy-cases/case-470663@1.html new file mode 100644 index 0000000..e165354 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-470663@1.html @@ -0,0 +1,37 @@ + + + + + + + + Test Input For Bug #470663 + + + +

Body doesn't matter. Problem occurs parsing <head> element.

+ + diff --git a/regression_testing/cases/legacy-cases/case-473490.conf b/regression_testing/cases/legacy-cases/case-473490.conf new file mode 100644 index 0000000..5567951 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-473490.conf @@ -0,0 +1,11 @@ +// Tidy configuration file for bug #473490 +tidy-mark: no +wrap: 0 +output-xhtml: yes +doctype: auto +quote-nbsp: yes +uppercase-tags: yes +quote-ampersand: yes +add-xml-space: no +show-warnings:no +quiet: yes diff --git a/regression_testing/cases/legacy-cases/case-473490@1.html b/regression_testing/cases/legacy-cases/case-473490@1.html new file mode 100644 index 0000000..03b0f8d --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-473490@1.html @@ -0,0 +1,11 @@ + + + +[ #473490 ] DOCTYPE for Proprietary HTML to XHTML bad + + + +

Test

+
+ + diff --git a/regression_testing/cases/legacy-cases/case-480406.conf b/regression_testing/cases/legacy-cases/case-480406.conf new file mode 100644 index 0000000..50bc5f5 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-480406.conf @@ -0,0 +1,3 @@ +// Tidy configuration file for bug #480406 +input-xml: yes +output-xml: yes diff --git a/regression_testing/cases/legacy-cases/case-480406@0.xml b/regression_testing/cases/legacy-cases/case-480406@0.xml new file mode 100644 index 0000000..63acee1 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-480406@0.xml @@ -0,0 +1,4 @@ + + + + diff --git a/regression_testing/cases/legacy-cases/case-480701.conf b/regression_testing/cases/legacy-cases/case-480701.conf new file mode 100644 index 0000000..9d95a80 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-480701.conf @@ -0,0 +1,3 @@ +// Tidy configuration file for bug #480701 +input-xml: yes +output-xhtml: yes diff --git a/regression_testing/cases/legacy-cases/case-480701@0.xml b/regression_testing/cases/legacy-cases/case-480701@0.xml new file mode 100644 index 0000000..4adae94 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-480701@0.xml @@ -0,0 +1,15 @@ + + + + + + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-487204@1.html b/regression_testing/cases/legacy-cases/case-487204@1.html new file mode 100644 index 0000000..02d2967 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-487204@1.html @@ -0,0 +1,12 @@ + + +[ #487204 ] Duplicate DIV style attribute generated +
    +
      +
    1. One
    2. +
    3. Two
    4. +
    5. Three
    6. +
    +
+ \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-487283@1.html b/regression_testing/cases/legacy-cases/case-487283@1.html new file mode 100644 index 0000000..3b9ba38 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-487283@1.html @@ -0,0 +1,22 @@ + + +[ #487283 ] >/select< does not terminate >option< + + +
+ +
+ + + +
row 1, cell 1 +row 1, cell 2 +
row 2, cell 1 +row 2, cell 2 +
+ + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-501669@0.html b/regression_testing/cases/legacy-cases/case-501669@0.html new file mode 100644 index 0000000..46bb207 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-501669@0.html @@ -0,0 +1,15 @@ + + + +[ #501669 ] width="n*" marked invalid on <COL> + + + ++ + + +
xx
+ + diff --git a/regression_testing/cases/legacy-cases/case-503436.conf b/regression_testing/cases/legacy-cases/case-503436.conf new file mode 100644 index 0000000..8a380d2 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-503436.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #503436 +input-xml: yes diff --git a/regression_testing/cases/legacy-cases/case-503436@1.xml b/regression_testing/cases/legacy-cases/case-503436@1.xml new file mode 100644 index 0000000..9e3bd88 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-503436@1.xml @@ -0,0 +1,8 @@ + + +Testcase #503436 + + + first + + diff --git a/regression_testing/cases/legacy-cases/case-504206@1.html b/regression_testing/cases/legacy-cases/case-504206@1.html new file mode 100644 index 0000000..b4b9568 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-504206@1.html @@ -0,0 +1,154 @@ + + +[ #504206] Tidy errors in processing forms. + +

COMM 428: Feedback Survey

+ +

Please fill out the following form based on YOUR +experience in COMM 428 to date.

+

Use the Send button at the bottom +of the page to send your feedback to me via e-mail. +


+
+ + + + + + + +

Name (optional):

+

E-Mail Address (optional):

+

Where will you be this time next year? + + +

+

Area(s) of concentation? (Select all that +Apply):
+MIS
+Finance
+Marketing
+Management
+Accounting
+Other
+

+

Q1: The instructor gives appropriate +consideration to the comments and questions of +students.
+Strongly Agree +Agree +Neither +Agree Nor Disagree +Disagree +Strongly Disagree +

+

Q2: The instructor relates theoretical +concepts covered in the course to practical +applications.
+Strongly Agree +Agree +Neither +Agree Nor Disagree +Disagree +Strongly Disagree +

+

Q3: The instructor presents class material +in a clear and organized manner.
+Strongly Agree +Agree +Neither +Agree Nor Disagree +Disagree +Strongly Disagree +

+

Q4: The instructor is prepared for +class.
+Strongly Agree +Agree +Neither +Agree Nor Disagree +Disagree +Strongly Disagree +

+

Q5: The instructor demonstrates enthusiasm +and interest in the subject matter.
+Strongly Agree +Agree +Neither Agree Nor Disagree +Disagree +Strongly Disagree +

+

Q6: The instructor posts reasonable office +hours and is available whenever I try to see him +during those hours.
+Strongly Agree +Agree +Neither +Agree Nor Disagree +Disagree +Strongly Disagree +

+

Q7: The instructor stimulates me to think +about the course.
+Strongly Agree +Agree +Neither Agree Nor Disagree +Disagree +Strongly Disagree +

+

Stengths (class/instructor): +
+ +
+

+

Weaknesses (class/instructor): +
+ +
+

+

Suggestions for improvement +(class/instructor; NOTE: This field is +REQUIRED): +
+ +
+

+

+ +
+ diff --git a/regression_testing/cases/legacy-cases/case-505770@1.html b/regression_testing/cases/legacy-cases/case-505770@1.html new file mode 100644 index 0000000..aa65f08 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-505770@1.html @@ -0,0 +1,34 @@ + + + +[ #505770] Unclosed option tag causing problems + + + + + +
+ + +
+
+ +
+ + diff --git a/regression_testing/cases/legacy-cases/case-511243.conf b/regression_testing/cases/legacy-cases/case-511243.conf new file mode 100644 index 0000000..c305be8 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-511243.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #511243 +char-encoding: utf8 diff --git a/regression_testing/cases/legacy-cases/case-511243@0.xhtml b/regression_testing/cases/legacy-cases/case-511243@0.xhtml new file mode 100644 index 0000000..32fa5de --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-511243@0.xhtml @@ -0,0 +1,14 @@ + + + + +[ #511243 ] xhtml utf8 format bug + + + +

+How to…
+Place an extended-hours order: + + diff --git a/regression_testing/cases/legacy-cases/case-511679@1.html b/regression_testing/cases/legacy-cases/case-511679@1.html new file mode 100644 index 0000000..67f996b --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-511679@1.html @@ -0,0 +1,6 @@ +[ 511679 ] Block level elements in a <pre> section + + + + +
foo
diff --git a/regression_testing/cases/legacy-cases/case-533233.conf b/regression_testing/cases/legacy-cases/case-533233.conf new file mode 100644 index 0000000..1de4c82 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-533233.conf @@ -0,0 +1,2 @@ +output-xhtml: yes +indent: auto diff --git a/regression_testing/cases/legacy-cases/case-533233@0.html b/regression_testing/cases/legacy-cases/case-533233@0.html new file mode 100644 index 0000000..4787ac9 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-533233@0.html @@ -0,0 +1,23 @@ + + + + + Test for bug #533233 + + + + + +

Script sample 1

+

Headline project—Link to offsite page.

+

Input 1

+

texttext

+ + + diff --git a/regression_testing/cases/legacy-cases/case-540571.conf b/regression_testing/cases/legacy-cases/case-540571.conf new file mode 100644 index 0000000..4a4248d --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-540571.conf @@ -0,0 +1,5 @@ +// Config for bug #540571 Inconsistent behaviour with span inline element +output-xhtml: yes +wrap: 255 +clean: no +indent: auto diff --git a/regression_testing/cases/legacy-cases/case-540571@1.html b/regression_testing/cases/legacy-cases/case-540571@1.html new file mode 100644 index 0000000..03bdf6f --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-540571@1.html @@ -0,0 +1,15 @@ + + +#540571 Inconsistent behaviour with span inline element + + +

Hello World

+

+The font inline is moved so it becomes a child of the h1 element. +

+

Hello World

+

+The span inline is not moved so it becomes a child of the h1 element, which is inconsistent and does not correspond with current browser behaviour any more. +

+ + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-543262.conf b/regression_testing/cases/legacy-cases/case-543262.conf new file mode 100644 index 0000000..02ead1f --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-543262.conf @@ -0,0 +1,5 @@ +doctype: omit +output-xhtml: yes +char-encoding: latin1 +numeric-entities: yes +quiet: yes diff --git a/regression_testing/cases/legacy-cases/case-543262@0.html b/regression_testing/cases/legacy-cases/case-543262@0.html new file mode 100644 index 0000000..b291986 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-543262@0.html @@ -0,0 +1,14 @@ + + + + Preferences + + + +

Test

+ + diff --git a/regression_testing/cases/legacy-cases/case-545772.conf b/regression_testing/cases/legacy-cases/case-545772.conf new file mode 100644 index 0000000..dcbc2ad --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-545772.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #547057 +output-xhtml: yes diff --git a/regression_testing/cases/legacy-cases/case-545772@0.html b/regression_testing/cases/legacy-cases/case-545772@0.html new file mode 100644 index 0000000..71ac363 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-545772@0.html @@ -0,0 +1,14 @@ + + + +[ 547057 ] --output-xhtml hangs on most files + + + + + +test + + diff --git a/regression_testing/cases/legacy-cases/case-553468@0.xhtml b/regression_testing/cases/legacy-cases/case-553468@0.xhtml new file mode 100644 index 0000000..a1b4825 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-553468@0.xhtml @@ -0,0 +1,11 @@ + + + +[ #553468 ] Doesn't warn about <u> in XHTML strict + + +

Tidy doesn't complain about underlining in +XHTML strict documents

+ + diff --git a/regression_testing/cases/legacy-cases/case-566542@1.html b/regression_testing/cases/legacy-cases/case-566542@1.html new file mode 100644 index 0000000..91b3611 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-566542@1.html @@ -0,0 +1,8 @@ +[ 566542 ] parser hangs + +
  • Identify the member disks with ssaraid -H -lssa0 -n pdisk + [n] -u -a use=member +

    +

  • Identify the hot spare with ssaraid -H -lssa0 -n pdisk + [n]-u -a use=spare

    diff --git a/regression_testing/cases/legacy-cases/case-586555.conf b/regression_testing/cases/legacy-cases/case-586555.conf new file mode 100644 index 0000000..f458aea --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-586555.conf @@ -0,0 +1,25 @@ +wrap: 68 +tab-size: 4 +repeated-attributes: keep-last +alt-text: None, says tidy +show-warnings: no +quiet: yes +indent: auto +indent-attributes: yes +output-xml: yes +output-xhtml: yes +add-xml-decl: yes +bare: yes +logical-emphasis: yes +drop-proprietary-attributes: yes +break-before-br: yes +quote-nbsp: no +assume-xml-procins: yes +keep-time: no +word-2000: yes +tidy-mark: no +literal-attributes: yes +hide-comments: yes +ascii-chars: no +join-styles: no +output-bom: no diff --git a/regression_testing/cases/legacy-cases/case-586555@1.html b/regression_testing/cases/legacy-cases/case-586555@1.html new file mode 100644 index 0000000..6275b4c --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-586555@1.html @@ -0,0 +1,19 @@ + + + + +[ 586555 ] Misplaced backslash caused by newline + + +

    [ 586555 ] Misplaced backslash caused by newline

    + + + + + diff --git a/regression_testing/cases/legacy-cases/case-586562@1.html b/regression_testing/cases/legacy-cases/case-586562@1.html new file mode 100644 index 0000000..53e3062 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-586562@1.html @@ -0,0 +1,12 @@ + + + + + + + [586562] Two Doctypes + + +

    Two DOCTYPE's!

    + + diff --git a/regression_testing/cases/legacy-cases/case-588061@1.html b/regression_testing/cases/legacy-cases/case-588061@1.html new file mode 100644 index 0000000..811a715 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-588061@1.html @@ -0,0 +1,428 @@ + + + + + + + + + TVNAV.COM Garmin GPS Home Page + + + + +

    TVNAV.COM

    +Toll Free 877-625-3546 (US only)

    + + +

    + +
    Garmin Logo





    + +

    + + +To track your package click here.

    + +Check the current REBATE offers!

    +**NEW! GPSMAP 76S IN STOCK!** +

    + + +**NEW! Rino 110/120 GPS/FRS/GMRS Expected September** +

    + +**NEW! GPSMAP 196 Coming Soon!** +

    + +**NEW! City Navigator Australia....$265.00 IN STOCK!** +

    +**NEW! BlueChart software IN STOCK!** +

    + +**NEW! Europe MapSource: City Navigator, City Select, MetroGuide and Roads & Recreation IN STOCK!** +

    + +**NEW! We now have remanufactured GPS III ($150) in stock. 1 year warranty.** +

    +**NEW! GPS V IN STOCK!** +

    +**NEW! eTrex/eMap/StreetPilot/ColorMap/StreetPilot III/GPSMAP 295 Bean Bag IN STOCK!** +

    +**NEW! StreetPilot III IN STOCK!** +

    +**NEW! StreetPilot/ColorMap/295 Deluxe Case IN STOCK!** +

    +**NEW! Sunvisor for StreetPilot, ColorMap, StreetPilot III and GPSMAP 295....$20.00 IN STOCK!** +

    +**We have R-A-M mounts now in stock for most Garmin units....Call or email us for prices and availability.** +

    +

    +

    + + +

    + +

    Total Video became an authorized Garmin dealer in January 1999. We sold 300+ GPS units prior to becoming a Garmin direct dealer, picking them up from various distributors and individuals to sell. By becoming a Garmin direct dealer we now are able to sell for less! Total Video prides itself with *very quick shipping and a strong history of customer satisfaction. Comments from customers. + +

    + +Want to learn more about GPS? Click here for further GPS information. + +


    +

    +Rino 110/120 GPS-Integrated FRS/GMRS Radios....(MAP $169.99/$249.99) Call or email us for our current price....too low to advertise! Coming Soon! + +

    + +eMap....$170.00 IN STOCK! + +

    + +eMap with 8MB memory cartridge....$200.00 IN STOCK! + +

    + +eMap with 8MB memory cartridge and USA MetroGuide MapSource....$215.00 IN STOCK! + +

    + +eTrex....$115.00 IN STOCK! + +

    + +eTrex Summit....$210.00 IN STOCK! + +

    + +eTrex Camo....$125.00 IN STOCK! + +

    + +eTrex Venture....(MAP $169.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +eTrex Legend....(MAP $249.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +eTrex Vista....(MAP $349.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +GPSMAP 76S....(MAP $449.99) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +GPSMAP 76....(MAP $349.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +GPS 76....(MAP $219.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +GPSMAP 176....(MAP $499.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +GPSMAP 176C....(MAP $599.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +GPSMAP 2006....(MAP $1199.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +GPSMAP 2006C....(MAP $1999.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +GPSMAP 2010C....(MAP $2499.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + + +GPS 12....$140.00 IN STOCK! + +

    + +GPS 12XL with carrying case....$190.00 IN STOCK! + +

    + +GPS 12 MAP with PC interface cable....$280.00 IN STOCK! + +

    + +GPS II Plus....$190.00 IN STOCK! + +

    + + +GPS III Plus with PC interface cable....$280.00 IN STOCK! + +

    + +GPS V Deluxe w/*new* City Select with all unlocks....(MAP $499.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +*U.S. Roads and Recreation MapSource....$80.00 IN STOCK! + +

    + +*WorldMap MapSource....$80.00 IN STOCK! + +

    + +*TOPO MapSource....$85.00 IN STOCK! + +

    + +*Fishing Hot Spots MapSource (includes one coverage area unlock)....$85.00 IN STOCK! + +

    + +*U.S. Waterways & Lights MapSource....$60.00 IN STOCK! + +

    + +StreetPilot with dash mount, cigarette power cable and PC interface cable....$385.00 IN STOCK! + +

    + +StreetPilot ColorMap with dash mount, cigarette power cable and PC interface cable....$540.00 IN STOCK! + +

    + +StreetPilot III Deluxe w/128MB, *new* City Navigator w/all unlocks and portable bean bag mount....(MAP $999.00) Call or email us for our current price....too low to advertise! IN STOCK! + +

    + +*MetroGuide USA MapSource....$90.00 IN STOCK! + +

    + +*MetroGuide USA MapSource w/Blank 8MB Memory Cartridge....$110.00 IN STOCK! + +

    + +*MetroGuide USA MapSource w/Blank 16MB Memory Cartridge....$115.00 IN STOCK! + +

    + +*MetroGuide Canada with Roads & Recreation....$80.00 IN STOCK! + +

    + +*City Navigator Europe....$195.00 IN STOCK! + +

    + +*City Navigator Europe "All" unlock....$215.00 IN STOCK! + +

    + +*City Select Europe....$115.00 IN STOCK! + +

    + +*City Select Europe "All" unlock....$115.00 IN STOCK! + +

    + +*MetroGuide Europe....$115.00 IN STOCK! + +

    + +*Roads & Recreation Europe....$85.00 IN STOCK! + +

    + +*City Navigator Australia....$265.00 IN STOCK! + +

    + +*BlueChart w/one coverage area....(MAP Americas-$139.00/Atlantic-$229.00/Pacific-$189.00) Call or email us for our current prices....too low to advertise! IN STOCK! + +

    + +*BlueChart Single Region Unlock....Americas-$85.00/Atlantic-$145.00/Pacific-$105.00 IN STOCK! + +

    + +Blank 8MB Memory Cartridge....$45.00 IN STOCK! + +

    + +Blank 16MB Memory Cartridge....$55.00 IN STOCK! + +

    + +Blank 32MB Memory Cartridge....$70.00 IN STOCK! + +

    + +Blank 64MB Memory Cartridge....$105.00 IN STOCK! + +

    + +Blank 128MB Memory Cartridge....$155.00 IN STOCK! + +

    + +USB Data Card Programmer....$70.00 IN STOCK! + +

    + +PC Download Kit (includes AC/DC adapter and 12V cigarette power/PC interface cable (for round, 4 pin connectors only)....$45.00 + +

    + +eMap/eTrex PC Download Kit (includes AC/DC adapter and cigarette power/PC interface cable....$50.00 + +

    + +GPSMAP 162....$355.00 (w/internal antenna)/$375.00 (w/external antenna) IN STOCK! + +

    + +GPSMAP 168 Sounder....$495.00 (w/internal antenna)/$515.00 (w/external antenna) IN STOCK! + +

    + +NavTalk Cellular phone/GPS (ver. 2.16)....$375.00 + +

    + +GBR 21 and GBR 23 Differential Receivers....$180.00 + +

    + +Videos available on many of the Garmin products as well as general GPS usage videos. + +

    + +Garmin GPS and accessories catalog....$2.00 (for s/h in US. Refundable/free with order) + +

    + +Online GARMIN manuals.

    + +
    + +Stock status subject to change. We try to update the stock status continuously but we sometimes don't get it changed immediately. Check with us for current stock status.

    + +

    Our Return Policy

    Software Return Policy + +

    + + +Accessories and Miscellaneous Items + +

    + + +AVIATION GPS

    + +
    + +

    We also sell Garmin GPS accessories such as mounts, cables, cases, etc. + +

    + + We sell everything in the Garmin outdoor recreation, marine and cartography line. Email us for prices on any items you don't see listed above.
    + +

    +

    +We charge a flat $10.00 shipping and handling charge (via UPS ground) per GPS order (not per item) in the 48/US.

    $5.00 shipping and handling for accessories in the 48/US.

    An additional $10.00 charge for COD orders (COD s/h must be credit card secured).

    Faster shipping available.

    *3 day select (usually arrives in 2 days!)--addtl. $3.00.
    *2nd day air--addtl. $5.00.
    *Next day air saver--addtl. $20.00.
    *Next day air-Saturday delivery--addtl. $35.00
    *More shipping may be required on larger packages for 3 day, 2nd day and next day air packages.

    Click here to get UPS Ground delivery times. Our zip code is 67601 (Hays, Kansas).

    +Add $10 to UPS charges for FedEx shipping. (minimum FedEx s/h is $18) + +

    + +$20 for Priority Mail s/h on GPS units and $15 for accessories in the US. + +

    + +Email us for requirements/costs for out of 48/US sales or click here. + +



    + +

    ORDERING INFORMATION



    + +* Most orders received by 2:00 p.m. central time for in stock items will ship the same day (business days only). + +

    + +All orders in Kansas must pay a 6.8% sales tax. + +

    + +We accept payment by Discover/MasterCard/Visa/Pre-pay (orders paid by personal/company check orders held for 10 business days for check clearing. Cashier checks/money orders ship same day.). COD orders welcome (cashiers check or money order).

    + + + +
    rescue,hunting,fishing,camping,adsfg,videogi,productshun,GPS III,Garmin,StreetPilot,gps3,gpsIII,gps2,gps2plus,gpsII+,Street Atlas,StreetAtlas,Osborne,Plainville,Stockton,Victoria,Ellis,Kansas,WaKeeney,Quinter,Russell,LaCrosse,Gorham,gpsIIIPLUS,gps3+,gps III+,gps 3+,DeLorme,GPS III Plus,GPS III Pilot,aviation gps,DeLorme Street Atlas,garmin aviation,metro guides,MetroGuides,truck navigation,semi navigation,over the road navigation,navigation aids,truck stops,metro gides,colormap streetpilot,color streetpilot,guidance by Garmin,color street pilot,color map,color map streetpilot,color map Street Pilot,MetroGuide,garmin international,garmond,garmund,magellan,gps12,gps 12,gps12xl,gps 12XL,gps12cx,RANS,gps 12CX,gps12CX,color streetpilot,streetpilot color map,garmin gps,Street Pilot,experimental aircraft,EEA,tvnav.com,gps 12 MAP,NavTalk,StreetPilot ColorMap,emap,ColorMap,Street Pilot ColorMap,Street Pilot Color Map,cell phone,cellular phone,cellar phone,cellar,cellular,EMAP,e map,Nav Talk,GPS,G P S,Global Positioning System,globalpositioningsystem,gps outfitters,gps video,cables,gps cables,navigation,mapsource,map source,MapSource,TOPO MapSource,MetroGuide MapSource + +

    + + + +

    + +send email + +

    + +

    Toll Free Order Line (877) 625-3546 (US only)

    FAX (413) 383-8800

    Information /International Order Line (785) 625-3546

    + +
    + +

    Home Page

    + +
    + +
    + + + + + + + + + + + +
    + Subscribe to the TVNAV.COM GarminGPS mail list +
    + + + +
    + Powered by groups.yahoo.com +
    +
    + +

    + + + + +
    + +Counter reset 2/1/99 +

    +This site last modified 7/25/02
    + +

    + +
    + + + + diff --git a/regression_testing/cases/legacy-cases/case-590716.conf b/regression_testing/cases/legacy-cases/case-590716.conf new file mode 100644 index 0000000..cbac395 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-590716.conf @@ -0,0 +1,2 @@ +preserve-entities: yes +tidy-mark: no diff --git a/regression_testing/cases/legacy-cases/case-590716@1.html b/regression_testing/cases/legacy-cases/case-590716@1.html new file mode 100644 index 0000000..b7f7f14 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-590716@1.html @@ -0,0 +1,802 @@ + +[ #590716 ] Preserve Entities + +

    + + + + + + + + + + id=ID =XX
    + + + id=ID¡=XX
    + + + id=ID¢=XX
    + + + id=ID£=XX
    + + + id=ID¤=XX
    + + + id=ID¥=XX
    + + + id=ID¦=XX
    + + + id=ID§=XX
    + + + id=ID¨=XX
    + + + id=ID©=XX
    + + + id=IDª=XX
    + + + id=ID«=XX
    + + + id=ID¬=XX
    + + + id=ID­=XX
    + + + id=ID®=XX
    + + + id=ID¯=XX
    + + + id=ID°=XX
    + + + id=ID±=XX
    + + + id=ID²=XX
    + + + id=ID³=XX
    + + + id=ID´=XX
    + + + id=IDµ=XX
    + + + id=ID¶=XX
    + + + id=ID·=XX
    + + + id=ID¸=XX
    + + + id=ID¹=XX
    + + + id=IDº=XX
    + + + id=ID»=XX
    + + + id=ID¼=XX
    + + + id=ID½=XX
    + + + id=ID¾=XX
    + + + id=ID¿=XX
    + + + id=IDÀ=XX
    + + + id=IDÁ=XX
    + + + id=IDÂ=XX
    + + + id=IDÃ=XX
    + + + id=IDÄ=XX
    + + + id=IDÅ=XX
    + + + id=IDÆ=XX
    + + + id=IDÇ=XX
    + + + id=IDÈ=XX
    + + + id=IDÉ=XX
    + + + id=IDÊ=XX
    + + + id=IDË=XX
    + + + id=IDÌ=XX
    + + + id=IDÍ=XX
    + + + id=IDÎ=XX
    + + + id=IDÏ=XX
    + + + id=IDÐ=XX
    + + + id=IDÑ=XX
    + + + id=IDÒ=XX
    + + + id=IDÓ=XX
    + + + id=IDÔ=XX
    + + + id=IDÕ=XX
    + + + id=IDÖ=XX
    + + + id=ID×=XX
    + + + id=IDØ=XX
    + + + id=IDÙ=XX
    + + + id=IDÚ=XX
    + + + id=IDÛ=XX
    + + + id=IDÜ=XX
    + + + id=IDÝ=XX
    + + + id=IDÞ=XX
    + + + id=IDß=XX
    + + + id=IDà=XX
    + + + id=IDá=XX
    + + + id=IDâ=XX
    + + + id=IDã=XX
    + + + id=IDä=XX
    + + + id=IDå=XX
    + + + id=IDæ=XX
    + + + id=IDç=XX
    + + + id=IDè=XX
    + + + id=IDé=XX
    + + + id=IDê=XX
    + + + id=IDë=XX
    + + + id=IDì=XX
    + + + id=IDí=XX
    + + + id=IDî=XX
    + + + id=IDï=XX
    + + + id=IDð=XX
    + + + id=IDñ=XX
    + + + id=IDò=XX
    + + + id=IDó=XX
    + + + id=IDô=XX
    + + + id=IDõ=XX
    + + + id=IDö=XX
    + + + id=ID÷=XX
    + + + id=IDø=XX
    + + + id=IDù=XX
    + + + id=IDú=XX
    + + + id=IDû=XX
    + + + id=IDü=XX
    + + + id=IDý=XX
    + + + id=IDþ=XX
    + + + id=IDÿ=XX
    + + + + + + + + id=IDƒ=XX
    + + + id=IDΑ=XX
    + + + id=IDΒ=XX
    + + + id=IDΓ=XX
    + + + id=IDΔ=XX
    + + + id=IDΕ=XX
    + + + id=IDΖ=XX
    + + + id=IDΗ=XX
    + + + id=IDΘ=XX
    + + + id=IDΙ=XX
    + + + id=IDΚ=XX
    + + + id=IDΛ=XX
    + + + id=IDΜ=XX
    + + + id=IDΝ=XX
    + + + id=IDΞ=XX
    + + + id=IDΟ=XX
    + + + id=IDΠ=XX
    + + + id=IDΡ=XX
    + + + id=IDΣ=XX
    + + + id=IDΤ=XX
    + + + id=IDΥ=XX
    + + + id=IDΦ=XX
    + + + id=IDΧ=XX
    + + + id=IDΨ=XX
    + + + id=IDΩ=XX
    + + + id=IDα=XX
    + + + id=IDβ=XX
    + + + id=IDγ=XX
    + + + id=IDδ=XX
    + + + id=IDε=XX
    + + + id=IDζ=XX
    + + + id=IDη=XX
    + + + id=IDθ=XX
    + + + id=IDι=XX
    + + + id=IDκ=XX
    + + + id=IDλ=XX
    + + + id=IDμ=XX
    + + + id=IDν=XX
    + + + id=IDξ=XX
    + + + id=IDο=XX
    + + + id=IDπ=XX
    + + + id=IDρ=XX
    + + + id=IDς=XX
    + + + id=IDσ=XX
    + + + id=IDτ=XX
    + + + id=IDυ=XX
    + + + id=IDφ=XX
    + + + id=IDχ=XX
    + + + id=IDψ=XX
    + + + id=IDω=XX
    + + + id=IDϑ=XX
    + + + id=IDϒ=XX
    + + + id=IDϖ=XX
    + + + id=ID•=XX
    + + + id=ID…=XX
    + + + id=ID′=XX
    + + + id=ID″=XX
    + + + id=ID‾=XX
    + + + id=ID⁄=XX
    + + + id=ID℘=XX
    + + + id=IDℑ=XX
    + + + id=IDℜ=XX
    + + + id=ID™=XX
    + + + id=IDℵ=XX
    + + + id=ID←=XX
    + + + id=ID↑=XX
    + + + id=ID→=XX
    + + + id=ID↓=XX
    + + + id=ID↔=XX
    + + + id=ID↵=XX
    + + + id=ID⇐=XX
    + + + id=ID⇑=XX
    + + + id=ID⇒=XX
    + + + id=ID⇓=XX
    + + + id=ID⇔=XX
    + + + id=ID∀=XX
    + + + id=ID∂=XX
    + + + id=ID∃=XX
    + + + id=ID∅=XX
    + + + id=ID∇=XX
    + + + id=ID∈=XX
    + + + + + + id=ID∉=XX
    + + + id=ID∋=XX
    + + + id=ID∏=XX
    + + + id=ID∑=XX
    + + + id=ID−=XX
    + + + id=ID∗=XX
    + + + id=ID√=XX
    + + + id=ID∝=XX
    + + + id=ID∞=XX
    + + + id=ID∠=XX
    + + + id=ID∧=XX
    + + + id=ID∨=XX
    + + + id=ID∩=XX
    + + + id=ID∪=XX
    + + + id=ID∫=XX
    + + + id=ID∴=XX
    + + + id=ID∼=XX
    + + + id=ID≅=XX
    + + + id=ID≈=XX
    + + + id=ID≠=XX
    + + + id=ID≡=XX
    + + + id=ID≤=XX
    + + + id=ID≥=XX
    + + + id=ID⊂=XX
    + + + id=ID⊃=XX
    + + + id=ID⊄=XX
    + + + id=ID⊆=XX
    + + + id=ID⊇=XX
    + + + id=ID⊕=XX
    + + + id=ID⊗=XX
    + + + id=ID⊥=XX
    + + + id=ID⋅=XX
    + + + id=ID⌈=XX
    + + + id=ID⌉=XX
    + + + id=ID⌊=XX
    + + + id=ID⌋=XX
    + + + id=ID⟨=XX
    + + + id=ID⟩=XX
    + + + id=ID◊=XX
    + + + id=ID♠=XX
    + + + id=ID♣=XX
    + + + id=ID♥=XX
    + + + id=ID♦=XX
    + + + + + + + + id=ID"=XX
    + + + id=ID&=XX
    + + + id=ID<=XX
    + + + id=ID>=XX
    + + + + + + + + id=IDŒ=XX
    + + + id=IDœ=XX
    + + + id=IDŠ=XX
    + + + id=IDš=XX
    + + + id=IDŸ=XX
    + + + id=IDˆ=XX
    + + + id=ID˜=XX
    + + + id=ID =XX
    + + + id=ID =XX
    + + + id=ID =XX
    + + + id=ID‌=XX
    + + + id=ID‍=XX
    + + + id=ID‎=XX
    + + + id=ID‏=XX
    + + + id=ID–=XX
    + + + id=ID—=XX
    + + + id=ID‘=XX
    + + + id=ID’=XX
    + + + id=ID‚=XX
    + + + id=ID“=XX
    + + + id=ID”=XX
    + + + id=ID„=XX
    + + + id=ID†=XX
    + + + id=ID‡=XX
    + + + id=ID‰=XX
    + + + id=ID‹=XX
    + + + id=ID›=XX
    + + + + + + id=ID€=XX
    + + + + + + + + id=ID'=XX
    + + + id=ID&foo;=XX
    +

    + + diff --git a/regression_testing/cases/legacy-cases/case-593705@0.html b/regression_testing/cases/legacy-cases/case-593705@0.html new file mode 100644 index 0000000..cf7c675 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-593705@0.html @@ -0,0 +1,15 @@ + + + + [ 593705 ] Use of < comparison symbol confuses Tidy + + + +

    Does the script confuse Tidy?

    + + diff --git a/regression_testing/cases/legacy-cases/case-609058@0.html b/regression_testing/cases/legacy-cases/case-609058@0.html new file mode 100644 index 0000000..7331525 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-609058@0.html @@ -0,0 +1,53 @@ + + + +609058 - elements replaced by CSS + + + + +
    +aa +aa +aa +
    + +
    +aa +aa +aa +
    + +
    +

    aa

    +

    aa

    +

    aa

    +
    + +
    +

    aa bb

    +

    aa bb

    +

    aa bb

    +
    + +
    +

    aa

    +

    aa

    +

    aa

    +
    + +
    +

    aa bb

    +

    aa bb

    +

    aa bb

    +
    + +
    +

    cc aa bb

    +

    cc aa bb

    +

    cc aa bb

    +
    + + + diff --git a/regression_testing/cases/legacy-cases/case-616744.conf b/regression_testing/cases/legacy-cases/case-616744.conf new file mode 100644 index 0000000..3911581 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-616744.conf @@ -0,0 +1,6 @@ +input-xml: yes +new-pre-tags: programlisting +new-inline-tags: literal +indent: no +indent-spaces: 0 +wrap: 999999 diff --git a/regression_testing/cases/legacy-cases/case-616744@0.xml b/regression_testing/cases/legacy-cases/case-616744@0.xml new file mode 100644 index 0000000..6bf25eb --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-616744@0.xml @@ -0,0 +1,12 @@ + + This is some stuff in a para. + There's a "command" +in it. + +
    + This line is indented 4 spaces. + + This (3rd) line is indented 8 spaces. +
    +
    + diff --git a/regression_testing/cases/legacy-cases/case-620531@1.html b/regression_testing/cases/legacy-cases/case-620531@1.html new file mode 100644 index 0000000..dc44820 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-620531@1.html @@ -0,0 +1,3 @@ +[ 620531 ] br in pre must not cause line break +

    foo

    +
    bar
    baz
    diff --git a/regression_testing/cases/legacy-cases/case-629885@1.html b/regression_testing/cases/legacy-cases/case-629885@1.html new file mode 100644 index 0000000..d23b719 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-629885@1.html @@ -0,0 +1,11 @@ + + + [629885] - Unbalanced quote in CSS Scrambles Doc + + + +

    Test

    + + diff --git a/regression_testing/cases/legacy-cases/case-634889.conf b/regression_testing/cases/legacy-cases/case-634889.conf new file mode 100644 index 0000000..6ca6d8d --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-634889.conf @@ -0,0 +1,10 @@ +tidy-mark: no +output-xml: yes +drop-proprietary-attributes: no +new-inline-tags: o:lock, o:p, v-f, v-formula, v-formulas, + v-imagedata, v-path, v-shape, v-shapetype, v-stroke +new-empty-tags: +new-blocklevel-tags: +new-pre-tags: +wrap-sections: no +drop-empty-paras: no diff --git a/regression_testing/cases/legacy-cases/case-634889@1.html b/regression_testing/cases/legacy-cases/case-634889@1.html new file mode 100644 index 0000000..1747b79 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-634889@1.html @@ -0,0 +1,9 @@ + + + [ 634889 ] Problem with <o:p> ms word tag + + +

    Probably OK, now that ParseTagNames() is fixed.

    + + + diff --git a/regression_testing/cases/legacy-cases/case-640473.conf b/regression_testing/cases/legacy-cases/case-640473.conf new file mode 100644 index 0000000..7f5df0a --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-640473.conf @@ -0,0 +1,13 @@ +# [640743] same as default config ... +indent: auto +char-encoding: latin1 +tidy-mark: no +clean: yes +logical-emphasis: yes +indent-attributes: yes + +# + declared tags +new-blocklevel-tags: foo +new-inline-tags: bar +new-empty-tags: zippo +new-pre-tags: baz diff --git a/regression_testing/cases/legacy-cases/case-640473@1.html b/regression_testing/cases/legacy-cases/case-640473@1.html new file mode 100644 index 0000000..2006909 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-640473@1.html @@ -0,0 +1,9 @@ +[ 640473 ] new-empty-tags doesn't work, breaks doc + +Foo bar foo foo foo +

    This is a test

    + + +This is a pre-formatted Baz! + + diff --git a/regression_testing/cases/legacy-cases/case-640474.conf b/regression_testing/cases/legacy-cases/case-640474.conf new file mode 100644 index 0000000..c0b1c2b --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-640474.conf @@ -0,0 +1,5 @@ +// Tidy configuration file for bug #640474 +// add-xml-decl: yes +input-xml: yes +output-xml: yes +char-encoding: latin1 diff --git a/regression_testing/cases/legacy-cases/case-640474@0.xml b/regression_testing/cases/legacy-cases/case-640474@0.xml new file mode 100644 index 0000000..e5feff0 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-640474@0.xml @@ -0,0 +1,4 @@ + + Björn Höhrmann + Marc-André Lemburg + diff --git a/regression_testing/cases/legacy-cases/case-646946.conf b/regression_testing/cases/legacy-cases/case-646946.conf new file mode 100644 index 0000000..36074d8 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-646946.conf @@ -0,0 +1,4 @@ +// Tidy configuration file for bug #640474 +// add-xml-decl: yes +input-xml: yes +output-xml: yes diff --git a/regression_testing/cases/legacy-cases/case-646946@0.xml b/regression_testing/cases/legacy-cases/case-646946@0.xml new file mode 100644 index 0000000..05d6fb5 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-646946@0.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/regression_testing/cases/legacy-cases/case-647255.conf b/regression_testing/cases/legacy-cases/case-647255.conf new file mode 100644 index 0000000..e9f4593 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-647255.conf @@ -0,0 +1,5 @@ +char-encoding: utf16le +newline: LF +output-xhtml: yes +indent: auto +indent-attributes: yes diff --git a/regression_testing/cases/legacy-cases/case-647255@1.html b/regression_testing/cases/legacy-cases/case-647255@1.html new file mode 100644 index 0000000000000000000000000000000000000000..983255f914d63d516fb7cd35f200f17fcd294c17 GIT binary patch literal 524 zcmaixO-chn5QQIf%|`GJeE>xi6NDtAF%T7k0e=oK(E)?eh#AqGM{uPJ7p~liCooHQ zIf(jol2Ks<8M^A#tLiteWk$j@Q|+E=18^^}4SnP@Uu2Dg~Wc&43( z`npz!I8;?jGrf7uQC*;%!32eK;tiFDO?1i0-?dGr1Cyc?6vC~a`)|>EG>%5mH0RN4 z6nRan@dSDOo(s6B6}AjscE7#!C%$qgd%EHq4A?J$_jvI-!r72ryP%@tx^38+RV=o$ zm8=FXnb#_H1*S&!imh%9+o4mpO + + [ 647900 ] tables are incorrectly merged + + + + + +
    Table data
    + +

    A paragraph

    + + + + +
    Foo +
    + +
    Foo +
    +
    + +

    Another paragraph

    + +
    + + + + + +
    Input:
    + +

    Yet another paragraph

    + + diff --git a/regression_testing/cases/legacy-cases/case-649812.conf b/regression_testing/cases/legacy-cases/case-649812.conf new file mode 100644 index 0000000..3af5237 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-649812.conf @@ -0,0 +1,5 @@ +char-encoding: utf16le +newline: CR +output-xhtml: yes +indent: auto +indent-attributes: yes diff --git a/regression_testing/cases/legacy-cases/case-649812@0.html b/regression_testing/cases/legacy-cases/case-649812@0.html new file mode 100644 index 0000000000000000000000000000000000000000..9bb1795541dd256ac7e521c1219dd6c458f9dc82 GIT binary patch literal 1088 zcmbW1y>1gh6orqpvt{04NKI^A?FCybiDeswJP#5T6cki+ zh$kQ=T^6V(>S3}2ossnAwtE-V-E5|y}i8i&X z9r9lDT2PtsSWEb3HM!L!^F-TNk2vX7QAu~$k3boyr#8Et-O?Tib7YD!A9zOU>t4v8 z%SMU0#Cpcvm&A{C$oh7ose)Iq&PEqBoZ>5~gV%vCfpJc?$$bx&)ppAHI(e)0Um7a9 z8^$zafo!;$Qkaa#>Z*a(W9GyYJtI=pGPhUh%Oc)$W|QhN_&wG2xO+k0dTQafL)`_#Xd=uj0$N*vG5aW$aaWSHbd{K4%lKg-;L+i(rHLuSKmx + + + + [ 655338 ] Tidy leaves XML decl in wrong place + +

    foo + diff --git a/regression_testing/cases/legacy-cases/case-656889.conf b/regression_testing/cases/legacy-cases/case-656889.conf new file mode 100644 index 0000000..6d187ec --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-656889.conf @@ -0,0 +1,5 @@ +indent: auto +wrap: 55555 +alt-text: pic +tidy-mark: no +clean: yes diff --git a/regression_testing/cases/legacy-cases/case-656889@1.html b/regression_testing/cases/legacy-cases/case-656889@1.html new file mode 100644 index 0000000..b2b2bc1 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-656889@1.html @@ -0,0 +1,12 @@ + + + [ 656889 ] textarea text and line wrapping + + +

    + +
    + + diff --git a/regression_testing/cases/legacy-cases/case-658230.conf b/regression_testing/cases/legacy-cases/case-658230.conf new file mode 100644 index 0000000..2ab8ade --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-658230.conf @@ -0,0 +1,3 @@ +char-encoding: big5 +doctype: strict +tidy-mark: no diff --git a/regression_testing/cases/legacy-cases/case-658230@1.html b/regression_testing/cases/legacy-cases/case-658230@1.html new file mode 100644 index 0000000..b546d8b --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-658230@1.html @@ -0,0 +1,1144 @@ +

    BIG-5 r + +

    Here are some entities: & " — ′ + +

    A0 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    A1 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    A2 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    A3 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    A4 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    A5 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    A6 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    A7 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    A8 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    A9 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    AA + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    AB + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    AC + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    AD + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    AE + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    AF + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B0 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B1 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B2 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B3 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B4 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B5 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B6 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B7 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B8 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    B9 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    BA + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    BB + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    BC + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    BD + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    BE + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    BF + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    C0 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    C1 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    C2 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ +   ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® ¯ + ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ + + + + + +

    C3 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + à á â ã ä å æ ç è é ê ë ì í î ï + ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ + + + + + +

    C4 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Ġ ġ Ģ ģ Ĥ ĥ Ħ ħ Ĩ ĩ Ī ī Ĭ ĭ Į į + İ ı IJ ij Ĵ ĵ Ķ ķ ĸ Ĺ ĺ Ļ ļ Ľ ľ Ŀ + + + + + +

    C5 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Š š Ţ ţ Ť ť Ŧ ŧ Ũ ũ Ū ū Ŭ ŭ Ů ů + Ű ű Ų ų Ŵ ŵ Ŷ ŷ Ÿ Ź ź Ż ż Ž ž ſ + + + + + +

    C6 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Ơ ơ Ƣ ƣ Ƥ ƥ Ʀ Ƨ ƨ Ʃ ƪ ƫ Ƭ ƭ Ʈ Ư + ư Ʊ Ʋ Ƴ ƴ Ƶ ƶ Ʒ Ƹ ƹ ƺ ƻ Ƽ ƽ ƾ ƿ + + + + + +

    C7 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Ǡ ǡ Ǣ ǣ Ǥ ǥ Ǧ ǧ Ǩ ǩ Ǫ ǫ Ǭ ǭ Ǯ ǯ + ǰ DZ Dz dz Ǵ ǵ Ƕ Ƿ Ǹ ǹ Ǻ ǻ Ǽ ǽ Ǿ ǿ + + + + + +

    C8 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Ƞ ȡ Ȣ ȣ Ȥ ȥ Ȧ ȧ Ȩ ȩ Ȫ ȫ Ȭ ȭ Ȯ ȯ + Ȱ ȱ Ȳ ȳ ȴ ȵ ȶ ȷ ȸ ȹ Ⱥ Ȼ ȼ Ƚ Ⱦ ȿ + + + + + +

    C9 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ɠ ɡ ɢ ɣ ɤ ɥ ɦ ɧ ɨ ɩ ɪ ɫ ɬ ɭ ɮ ɯ + ɰ ɱ ɲ ɳ ɴ ɵ ɶ ɷ ɸ ɹ ɺ ɻ ɼ ɽ ɾ ɿ + + + + + +

    CA + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ʠ ʡ ʢ ʣ ʤ ʥ ʦ ʧ ʨ ʩ ʪ ʫ ʬ ʭ ʮ ʯ + ʰ ʱ ʲ ʳ ʴ ʵ ʶ ʷ ʸ ʹ ʺ ʻ ʼ ʽ ʾ ʿ + + + + + +

    CB + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ˠ ˡ ˢ ˣ ˤ ˥ ˦ ˧ ˨ ˩ ˪ ˫ ˬ ˭ ˮ ˯ + ˰ ˱ ˲ ˳ ˴ ˵ ˶ ˷ ˸ ˹ ˺ ˻ ˼ ˽ ˾ ˿ + + + + + +

    CC + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ̠ ̡ ̢ ̣ ̤ ̥ ̦ ̧ ̨ ̩ ̪ ̫ ̬ ̭ ̮ ̯ + ̰ ̱ ̲ ̳ ̴ ̵ ̶ ̷ ̸ ̹ ̺ ̻ ̼ ̽ ̾ ̿ + + + + + +

    CD + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ͠ ͡ ͢ ͣ ͤ ͥ ͦ ͧ ͨ ͩ ͪ ͫ ͬ ͭ ͮ ͯ + Ͱ ͱ Ͳ ͳ ʹ ͵ Ͷ ͷ ͸ ͹ ͺ ͻ ͼ ͽ ; Ϳ + + + + + +

    CE + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Π Ρ ΢ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή ί + ΰ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο + + + + + +

    CF + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Ϡ ϡ Ϣ ϣ Ϥ ϥ Ϧ ϧ Ϩ ϩ Ϫ ϫ Ϭ ϭ Ϯ ϯ + ϰ ϱ ϲ ϳ ϴ ϵ ϶ Ϸ ϸ Ϲ Ϻ ϻ ϼ Ͻ Ͼ Ͽ + + + + + +

    D0 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я + а б в г д е ж з и й к л м н о п + + + + + +

    D1 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Ѡ ѡ Ѣ ѣ Ѥ ѥ Ѧ ѧ Ѩ ѩ Ѫ ѫ Ѭ ѭ Ѯ ѯ + Ѱ ѱ Ѳ ѳ Ѵ ѵ Ѷ ѷ Ѹ ѹ Ѻ ѻ Ѽ ѽ Ѿ ѿ + + + + + +

    D2 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Ҡ ҡ Ң ң Ҥ ҥ Ҧ ҧ Ҩ ҩ Ҫ ҫ Ҭ ҭ Ү ү + Ұ ұ Ҳ ҳ Ҵ ҵ Ҷ ҷ Ҹ ҹ Һ һ Ҽ ҽ Ҿ ҿ + + + + + +

    D3 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Ӡ ӡ Ӣ ӣ Ӥ ӥ Ӧ ӧ Ө ө Ӫ ӫ Ӭ ӭ Ӯ ӯ + Ӱ ӱ Ӳ ӳ Ӵ ӵ Ӷ ӷ Ӹ ӹ Ӻ ӻ Ӽ ӽ Ӿ ӿ + + + + + +

    D4 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + Ԡ ԡ Ԣ ԣ Ԥ ԥ Ԧ ԧ Ԩ ԩ Ԫ ԫ Ԭ ԭ Ԯ ԯ + ԰ Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ + + + + + +

    D5 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ՠ ա բ գ դ ե զ է ը թ ժ ի լ խ ծ կ + հ ձ ղ ճ մ յ ն շ ո չ պ ջ ռ ս վ տ + + + + + +

    D6 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ֠ ֡ ֢ ֣ ֤ ֥ ֦ ֧ ֨ ֩ ֪ ֫ ֬ ֭ ֮ ֯ + ְ ֱ ֲ ֳ ִ ֵ ֶ ַ ָ ֹ ֺ ֻ ּ ֽ ־ ֿ + + + + + +

    D7 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + נ ס ע ף פ ץ צ ק ר ש ת ׫ ׬ ׭ ׮ ׯ + װ ױ ײ ׳ ״ ׵ ׶ ׷ ׸ ׹ ׺ ׻ ׼ ׽ ׾ ׿ + + + + + +

    D8 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ؠ ء آ أ ؤ إ ئ ا ب ة ت ث ج ح خ د + ذ ر ز س ش ص ض ط ظ ع غ ػ ؼ ؽ ؾ ؿ + + + + + +

    D9 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩ ٪ ٫ ٬ ٭ ٮ ٯ + ٰ ٱ ٲ ٳ ٴ ٵ ٶ ٷ ٸ ٹ ٺ ٻ ټ ٽ پ ٿ + + + + + +

    DA + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ڠ ڡ ڢ ڣ ڤ ڥ ڦ ڧ ڨ ک ڪ ګ ڬ ڭ ڮ گ + ڰ ڱ ڲ ڳ ڴ ڵ ڶ ڷ ڸ ڹ ں ڻ ڼ ڽ ھ ڿ + + + + + +

    DB + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ۠ ۡ ۢ ۣ ۤ ۥ ۦ ۧ ۨ ۩ ۪ ۫ ۬ ۭ ۮ ۯ + ۰ ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۺ ۻ ۼ ۽ ۾ ۿ + + + + + +

    DC + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ܠ ܡ ܢ ܣ ܤ ܥ ܦ ܧ ܨ ܩ ܪ ܫ ܬ ܭ ܮ ܯ + ܰ ܱ ܲ ܳ ܴ ܵ ܶ ܷ ܸ ܹ ܺ ܻ ܼ ܽ ܾ ܿ + + + + + +

    DD + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ݠ ݡ ݢ ݣ ݤ ݥ ݦ ݧ ݨ ݩ ݪ ݫ ݬ ݭ ݮ ݯ + ݰ ݱ ݲ ݳ ݴ ݵ ݶ ݷ ݸ ݹ ݺ ݻ ݼ ݽ ݾ ݿ + + + + + +

    DE + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ޠ ޡ ޢ ޣ ޤ ޥ ަ ާ ި ީ ު ޫ ެ ޭ ޮ ޯ + ް ޱ ޲ ޳ ޴ ޵ ޶ ޷ ޸ ޹ ޺ ޻ ޼ ޽ ޾ ޿ + + + + + +

    DF + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + ߠ ߡ ߢ ߣ ߤ ߥ ߦ ߧ ߨ ߩ ߪ ߫ ߬ ߭ ߮ ߯ + ߰ ߱ ߲ ߳ ߴ ߵ ߶ ߷ ߸ ߹ ߺ ߻ ߼ ߽ ߾ ߿ + + + + + +

    E0 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    E1 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    E2 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    E3 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    E4 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    E5 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    E6 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    E7 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    E8 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    E9 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    EA + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    EB + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    EC + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    ED + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    EE + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    EF + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F0 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F1 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F2 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F3 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F4 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F5 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F6 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F7 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F8 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    F9 + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    FA + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    FB + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    FC + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    FD + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + +

    FE + @ A B C D E F G H I J K L M N O + P Q R S T U V W X Y Z [ \ ] ^ _ + ` a b c d e f g h i j k l m n o + p q r s t u v w x y z { | } ~ + + + + + + + diff --git a/regression_testing/cases/legacy-cases/case-660397.conf b/regression_testing/cases/legacy-cases/case-660397.conf new file mode 100644 index 0000000..faa48ad --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-660397.conf @@ -0,0 +1,4 @@ +char-encoding: ibm858 +indent: auto +tidy-mark: no +output-xhtml: yes diff --git a/regression_testing/cases/legacy-cases/case-660397@1.html b/regression_testing/cases/legacy-cases/case-660397@1.html new file mode 100644 index 0000000..5c9320e --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-660397@1.html @@ -0,0 +1,239 @@ + + + + + + +

    Aufklrung ist der Ausgang des Menschen +
    aus seiner selbstverschuldeten Unmndigkeit. +
    /Immanuel Kant/
    + + +

    TCPA und Palladium

    +

    Ein weiterer Schritt in die Unmndigkeit +
    oder ein Schritt hin zur Emanzipation?

    + +

    Von der ffentlichkeit weitgehend unbemerkt geistern seit einigen Wochen +geheimnisvolle neue Schlagworte und Krzel durch die Welt der +EDV-Profis: TCPA und Palladium. Interessiert habe ich mich damit +nher beschftigt, denn allein die Tatsache, da die Bezeichnung +Palladium in unserem Fall anders als in den Naturwissenschaften nicht +ein wertvolles Metall meint, sondern eine Wortschpfung der Firma +Microsoft darstellt, verheit nichts Gutes und weckte daher meinen +Argwohn. Der wesentlich neutralere Begriff TCPA (das steht fr +Trusted Computing Platform Alliance) dagegen scheint auf den ersten +Blick positive oder zumindest neutrale Emotionen zu wecken - aber auch +nur auf den ersten Blick, denn wenn man sich des Horrorszenarios bewut +wird, das hinter TCPA in Kombination mit Palladium steckt, so drfte +wohl selbst der unbedarfteste EDV-Anwender schlaflose Nchte bekommen.

    + +

    Was hat es also mit diesen Begriffen auf sich, welche Intentionen liegen +diesen Schlagworten zugrunde und was bedeuten die dahintersteckenden +neuen Techniken fr den EDV-Anwender?

    + +

    Die TCPA ist ein Zusammenschlu fhrender Hardwarehersteller, darunter +IBM, HP, AMD und Intel, die sich vorgenommen haben, den Personal +Computer durch Implementation neuer Hardwaretechnologien sicherer zu +machen. Wie uns allen bewut ist, hat die Monokultur im +Betriebssystemsektor dazu gefhrt, da durch das unsgliche Monopol von +Microsoft in Kombination mit der grottenschlechten Software dieser +Firma allerorten und allenthalben eine wahre Flut von Computerviren, +sogenannten trojanischen Pferden, Wrmern und Sicherheitslchern +entstanden ist und tglich neu auf den Anwender zurollt, die den Umgang +mit dem PC immer wieder zum rgernis werden lt. Diesem bel wollen die +an der TCPA beteiligten Konzerne nun durch den sogenannten +Fritz-Chip (benannt nach dem US-Senator Fritz Hollings) abhelfen - ein +hehrer Wunsch. Bei dem Fritz-Chip handelt es sich um einen +Krypto-Baustein, der in zuknftige Generationen von Personal Computern +integriert werden und allgemein die Systeme sicherer machen soll. Dieser +Chip speichert mehrere Schlssel, die hardware- und anwenderspezifisch +definiert sind. Sobald der PC eingeschaltet wird, nimmt der Fritz-Chip +seine Arbeit auf und fragt einen Schlssel nach dem anderen ab: Zunchst +wird das BIOS abgefragt, anschlieend alle im Rechner vorhandenen +BIOS-Erweiterungen der Steckkarten. Danach wird die Festplatte +berprft, und anschlieend prft der TCPA-Chip auch noch den +Bootsektor, den Bootloader, den Kernel und die Gertetreiber. Da bei +jedem dieser Schritte eine Prfsumme abgespeichert und ein 160 Bit +langer eindeutiger Wert aus den gewonnenen Daten und einem speziellen +Schlssel generiert wird, hat der Fritz-Chip jederzeit die vllige +Kontrolle ber das Gesamtsystem.

    + +

    Damit taucht schon die erste Problematik fr den Anwender auf: Bereits +ein Flash-Update des Rechner-BIOS legt das gesamte System lahm, da dann +die generierten Werte des Fritz-Chip nicht mehr mit den gespeicherten +Werten, die zertifiziert sind, bereinstimmen. In Zeiten, in denen +aufgrund der oftmals schlampig implementierten BIOS-Versionen +Flash-Updates derselben zumindest bei den blichen Consumer-Produkten an +der Tagesordnung sind, ist also der Fritz-Chip eher hinderlich denn ein +Segen fr den Anwender. Gleiches gilt brigens fr diejenigen Anwender, +die beispielsweise eine neue Grafikkarte oder eine grere Festplatte +einbauen wollen - auch fr sie bedeutet jede Hardware-Modifikation eine +- vermutlich natrlich kostenpflichtige - Neuzertifizierung des +Gesamtsystems, damit dieses wieder als TCPA-konform angesehen werden +kann. Bei der Neuzertifizierung wird online anhand einer Liste mit +geprfter Hardware (HCL) und einer weiteren Liste mit gesperrten +Seriennummern (SRL) die Konformittstabelle des Rechners geprft und +aktualisiert.

    + +

    Hat der Fritz-Chip beim Bootvorgang alle Komponenten als TCPA-konform +berprft und erkannt, bergibt er die Kontrolle schlielich an das +Betriebssystem. Ab diesem Punkt hakt nun - wie knnte es anders sein? - +die Firma Microsoft ein mit ihrer Palladium-Technologie. Sobald der +Anwender jetzt ein Programm startet, berprft das Betriebssystem dieses +anhand der im Fritz-Chip gespeicherten Werte fr die SRL. Sollte sich +herausstellen, da dieses Programm keine gltige Lizenz und/oder +Seriennummer besitzt oder die Lizenz abgelaufen ist, wird es gar nicht +erst gestartet. Stellt es sich als TCPA-konform heraus, so wird nach +der Freigabe und dem anschlieenden Start erneut online eine Liste mit +gesperrten Dokumenten fr dieses Programm abgerufen (DRL), um zu +verhindern, da der Anwender fr ihn nicht vorgesehene Dateien ffnet +oder unerlaubterweise nutzt.

    + +

    Was sich auf den ersten Blick tatschlich als wirksame Waffe gegen +Viren, Trojaner, Wrmer und hnliche Probleme geriert, entmndigt jedoch +den Anwender: Palladium stt vor allem bei der +Unterhaltungsindustrie, die einen erbitterten Kampf gegen jegliche +Weiterverbreitung urheberrechtlich geschtzter Produkte im Internet +fhrt, auf groe Zustimmung, bietet sich hier jedoch erstmals +vordergrndig die Mglichkeit, MP3-Tauschbrsen und hnliche Dienste +effizient trockenzulegen dank Microsoft. Auch das Kopieren einzelner +Musikstcke zu privaten Zwecken am heimischen PC wird damit unterbunden +- dank Microsoft werden also vermutlich die ohnehin bervollen Kassen +der Unterhaltungsindustrie zuknftig noch krftiger klingeln!

    + +

    Doch der Anwender hat natrlich noch die Mglichkeit, auch nicht +TCPA-konforme Software auf seinem heimischen PC zu installieren und zu +starten. Bemerkt Palladium eine solche Anwendung, wird das +Gesamtsystem als kompromittiert gekennzeichnet und alle konformen +Anwendungen samt Dateien werden geschlossen. Der Nutzwert eines solchen +Systems drfte fr den Anwender dann wohl gegen Null tendieren.

    + +

    Doch gehen wir einen Schritt weiter und bedenken wir die Folgen dieser +Technologie:

    + +
      +
    1. + Die SRL's, DRL's und HCL's, die fr die + Konformitts-Authentifizierung eines PC's unbedingt bentigt + werden, werden an zentraler Stelle im Internet gespeichert und + abgerufen. Hacker brauchen jetzt also nicht mehr einzelne PC's + anzugreifen, sondern knnen ihr Engagement auf diese Server + konzentrieren - und damit unter Umstnden mit einem einzigen + gelungenen Angriff Millionen von Rechnern unbrauchbar machen. +
    2. +
    3. + Es bedarf keiner ausgesprochen ausgeprgten Phantasie, um sich + auszumalen, wie Palladium mit unerwnschten Konkurrenzprodukten + verfahren kann: Sollen bestimmte Softwareprodukte anderer + Hersteller als Microsoft nicht als konform zertifiziert + werden, so gengt es, sie auf die schwarze Liste des + Palladium-Systems zu setzen. Bei einem Start solcher Software + wre der Rechner nur noch sehr eingeschrnkt nutzbar, da + kompromittiert - jeder Anwender wrde sich wohl zumindest + berlegen, ob er beim nchsten Mal nicht doch zur drittklassigen + Spyware aus dem Hause Microsoft greift. +
    4. +
    5. + Die Zertifizierungen fr Software und Dateien kosten Geld: + Schtzungen gehen von bis zu sechsstelligen Dollarsummen aus fr + eine einzige Anwendung. Die Folge dieser Lizenzierungspraxis wre, + da die Freewareszene von der Bildflche verschwindet. Viele + tausend Programmierer, die unter oftmals groem persnlichen + Engagament und erheblichem Zeitaufwand ansehnliche Projekte als + Freeware entwickelt haben, htten keine Mglichkeit und auch keine + Motivation mehr, ihre oft wirklich innovativen Projekte der + Anwendergemeinde zur Verfgung zu stellen dank der kriminellen + Krake Microsoft. +
    6. +
    7. + Der gesamte von der GPL-Lizenz abgedeckte Bereich wrde ebenfalls + sang- und klanglos vor dem Aus stehen, da auch hier zunchst + erhebliche Betrge in eine Zertifizierung gesteckt werden mten, + denen keine Einnahmen gegenberstehen. Die wohl gefhrlichste + Konkurrenz fr Microsoft, nmlich die oftmals aus idealistischer + und moralischer Intention heraus handelnden freien Entwickler, die + ihre Software unter der GPL-Lizenz vertreiben, wre mit einem + Schlag ausgeschaltet. +
    8. +
    9. + Dem unsglichen Monopol der Firma Microsoft im + Betriebssystemmarkt wrde ein weiterer nachhaltiger Schub + verliehen, denn Konkurrenzsysteme mten, um mit dem Fritz-Chip + und damit letztendlich auch mit Palladium zu harmonieren, + ebenfalls TCPA-konform gestaltet werden. Fr OS/2 WARP ebenso + wie fr die meisten Linux-Distributionen und auch Systeme wie + FreeBSD, NetBSD oder auch BeOS und (mit Einschrnkungen) QNX wrde + der Zwang zur TCPA- und Palladium-Konformitt das Verschwinden + vom EDV-Markt bedeuten, denn ohne diese Konformitt wrden diese + meist besseren Betriebssysteme als unsicher gelten. OS/2 WARP + und die eComStation wrden aus den groen Banken und + Versicherungen, bei TK-Dienstleistern und bei den anderen + Anwendern im professionellen Umfeld gechtet und von den + Festplatten verbannt zugunsten der wesentlich schlechteren + Windows-Systeme. Die einzige Alternative bliebe nach dem + derzeitigen Stand der Dinge HP-Linux, da HP bereits an der TCPA- + und Palladium-Konformitt seines Linux arbeitet. +
    10. +
    11. + Mit dem Palladium-System wrde die offene, basisdemokratische + Struktur des Internet endgltig zu Grabe getragen und einem + Meinungs- und Zensurmonopol der Firma Microsoft weichen. + Microsoft knnte ber die variable Gestaltung von + Zertifizierungsgebhren die Weiterverbreitung kritischer Dokumente + im Internet oder im Rahmen von Software-Distributionen verhindern. + Obendrein wren alle Newsdienste auer den Microsoft-eigenen + davon betroffen - freiwillige, sehr anerkennenswerte Initiativen + wie beispielsweise auch die VOICE, die sich der Aufklrung der + OS/2-Gemeinde verschrieben hat, mten fr die einzelnen Beitrge + Zertifizierungsgebhren an Microsoft zahlen fr die + Palladium-Konformitt, um nicht auf der schwarzen Liste der + DRL-Server zu landen. Das Internet als Transporteur + basisdemokratischer Ideale wre zerstrt und zu einem Sprachrohr + von Microsoft verkommen. +
    12. +
    13. + Durch die enge Kopplung der Palladium-Technologie in Kooperation + mit dem Fritz-Chip an Hard- und Software wrde der + Gebrauchtsoftwaremarkt zum Erliegen kommen - weil bereits einmal + durch TCPA und Palladium zertifizierte Software aufgrund der + Verschlsselung untrennbar an die Hardware gekoppelt ist. Fr + Microsoft erfllt sich damit ein lange gehegter Traum: Jeder + Kufer eines PC mu Software aus Redmond neu kaufen, da die alte + Software nur ber eine Seriennummern-Freigabe auf ein anderes + Gert bertragbar wre - und davon steht nicht ein einziges Wort + in den entsprechenden Standardisierungs-Richtlinien. +
    14. +
    + +

    Das hier geschilderte Horrorszenario erscheint keineswegs abwegig: Bill +Gates hat mit der Unterhaltungsindustrie starke Kombattanten im Rcken, +denen es genauso wie ihm um die Profitmaximierung um jeden Preis geht - +auch wenn dabei demokratische und ethische Prinzipien nicht nur +ausgehhlt, sondern offen mit Fen getreten werden und auf der Strecke +bleiben. Offen diskutiert werden die Folgen seiner Technologie noch +nicht; bislang hat Gates grten Wert darauf gelegt, sich stets +ffentlich und lauthals als Vorkmpfer gegen Raubkopierertum zum Wohle +der Software- und der Unterhaltungsindustrie und auch zum angeblichen +Nutzen des Endverbrauchers zu gerieren - mit Palladium jedoch +berschreitet Microsoft im Halbdunkel ein- fr allemal eine Grenze, +die dem vermeintlichen Vorkmpfer Gates fr die Durchsetzung von +Urheberrechten bislang Fesseln anlegte: Nun geht es um die vollkommene +Kontrolle der Informationsgesellschaft durch einen Konzern, der +krimineller Machenschaften mehrfach berfhrt ist - die Weltherrschaft +einer einzelnen kleinen Clique im Mediensektor droht, und das auch noch +mit blauugiger Zustimmung einiger international agierender +Medienkonzerne, die bisher offenbar noch gar nicht realisiert haben, da +sie sich mit ihrer offensichtlich blinden Profitsucht einem Mann +ausliefern, den andere als den gefhrlichsten Zeitgenossen seit Adolf +Hitler betrachten.

    + +

    Es wird Zeit, da die Demokraten unter den EDV-Profis und -Anwendern +endlich aus ihrem Dornrschenschlaf aufwachen, denn:

    + +
    Man darf nicht +warten, bis aus dem Schneeball eine Lawine geworden ist. Man mu den +rollenden Schneeball zertreten. Die Lawine hlt keiner mehr auf. Sie +ruht erst, wenn sie alles unter sich begraben hat... +
    /Erich Kstner/
    + + diff --git a/regression_testing/cases/legacy-cases/case-671087@0.html b/regression_testing/cases/legacy-cases/case-671087@0.html new file mode 100644 index 0000000..a51f200 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-671087@0.html @@ -0,0 +1,14 @@ + + + +tidy loops with --new-inline-tags table,tr,td + + + + + + +
    table heading
    + + diff --git a/regression_testing/cases/legacy-cases/case-676156.conf b/regression_testing/cases/legacy-cases/case-676156.conf new file mode 100644 index 0000000..7f3bf9e --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-676156.conf @@ -0,0 +1 @@ +char-encoding: utf8 diff --git a/regression_testing/cases/legacy-cases/case-676156@1.html b/regression_testing/cases/legacy-cases/case-676156@1.html new file mode 100644 index 0000000..f822cb6 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-676156@1.html @@ -0,0 +1,5 @@ +foo +bar + diff --git a/regression_testing/cases/legacy-cases/case-676205@1.xhtml b/regression_testing/cases/legacy-cases/case-676205@1.xhtml new file mode 100644 index 0000000..973b8e4 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-676205@1.xhtml @@ -0,0 +1,13 @@ + + + + +[ 676205 ] <img src="> crashes Tidy + + + + + + + +Error: File Copy Error! File=C:\WinNT\ +System32\PERFLIB_PERFDATA_<#>.DAT (copying to a +'.fil'). + + +Error: File Copy Error! File=C:\WinNT\ +System32\PERFLIB_PERFDATA_ +<#>.DAT (copying to a '.fil'). +
    id
    + + diff --git a/regression_testing/cases/legacy-cases/case-688746.conf b/regression_testing/cases/legacy-cases/case-688746.conf new file mode 100644 index 0000000..7f3bf9e --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-688746.conf @@ -0,0 +1 @@ +char-encoding: utf8 diff --git a/regression_testing/cases/legacy-cases/case-688746@1.html b/regression_testing/cases/legacy-cases/case-688746@1.html new file mode 100644 index 0000000..8cb6d50 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-688746@1.html @@ -0,0 +1,12 @@ + + + [ 688746 ] incorrect charset value for utf-8 + + + + + +

    How to…
    + Place an extended-hours order:

    + + diff --git a/regression_testing/cases/legacy-cases/case-695408.conf b/regression_testing/cases/legacy-cases/case-695408.conf new file mode 100644 index 0000000..cc4ae6e --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-695408.conf @@ -0,0 +1,6 @@ +indent: auto +indent-attributes: yes +tidy-mark: no +clean: yes +drop-proprietary-attributes: no + diff --git a/regression_testing/cases/legacy-cases/case-695408@1.html b/regression_testing/cases/legacy-cases/case-695408@1.html new file mode 100644 index 0000000..e38c76f --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-695408@1.html @@ -0,0 +1,14 @@ + + + [ 695408 ] Empty spans getting dropped, even if they have attrs + + + + + + + + +
    + + diff --git a/regression_testing/cases/legacy-cases/case-696799@1.html b/regression_testing/cases/legacy-cases/case-696799@1.html new file mode 100644 index 0000000..b2d909b --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-696799@1.html @@ -0,0 +1,12 @@ + + + [ 696799 ] Crash: <script language=""> + + + + + diff --git a/regression_testing/cases/legacy-cases/case-706260@0.html b/regression_testing/cases/legacy-cases/case-706260@0.html new file mode 100644 index 0000000..07cc79c --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-706260@0.html @@ -0,0 +1,14 @@ + + + + + #706260 size not accepted for input + + + +
    + +
    + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-765852@1.html b/regression_testing/cases/legacy-cases/case-765852@1.html new file mode 100644 index 0000000..7113f63 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-765852@1.html @@ -0,0 +1,3 @@ + +#765852 Empty tag striping +

    Text following italics without a blank after the i end tag is not cleaned up correctly (the bold blank is eliminated).

    \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-795643a.conf b/regression_testing/cases/legacy-cases/case-795643a.conf new file mode 100644 index 0000000..7212423 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-795643a.conf @@ -0,0 +1 @@ +show-body-only: auto diff --git a/regression_testing/cases/legacy-cases/case-795643a@1.html b/regression_testing/cases/legacy-cases/case-795643a@1.html new file mode 100644 index 0000000..98d12dd --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-795643a@1.html @@ -0,0 +1 @@ +

    Hi

    diff --git a/regression_testing/cases/legacy-cases/case-795643b.conf b/regression_testing/cases/legacy-cases/case-795643b.conf new file mode 100644 index 0000000..7212423 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-795643b.conf @@ -0,0 +1 @@ +show-body-only: auto diff --git a/regression_testing/cases/legacy-cases/case-795643b@1.html b/regression_testing/cases/legacy-cases/case-795643b@1.html new file mode 100644 index 0000000..287ec04 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-795643b@1.html @@ -0,0 +1 @@ +

    Hi

    diff --git a/regression_testing/cases/legacy-cases/case-836462a@1.html b/regression_testing/cases/legacy-cases/case-836462a@1.html new file mode 100644 index 0000000..727c9e5 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-836462a@1.html @@ -0,0 +1,21 @@ + + + +836462 + + +

    Heading

    + +
      +
    • First list item

    • +
    • Second list item

    • +
    • Third list item

    • +
        +
      • First list item 2

      • +
      • Second list item 2

      • +
      +
    • Fourth list item

    • +
    • Fifth list item

    • +
    + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-836462b@1.html b/regression_testing/cases/legacy-cases/case-836462b@1.html new file mode 100644 index 0000000..1bfd16c --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-836462b@1.html @@ -0,0 +1,21 @@ + + + +836462-2 + + +

    Heading

    + +
      +
    1. First ordered list item

    2. +
    3. Second ordered list item

    4. +
    5. Third ordered list item

    6. +
        +
      • First unordered list item

      • +
      • Second unordered list item

      • +
      +
    7. Fourth unordered list item

    8. +
    9. Fifth unordered list item

    10. +
    + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-836462c@1.html b/regression_testing/cases/legacy-cases/case-836462c@1.html new file mode 100644 index 0000000..b9e980c --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-836462c@1.html @@ -0,0 +1,9 @@ + +test + +
      + +
      +
    + + diff --git a/regression_testing/cases/legacy-cases/case-837023@1.html b/regression_testing/cases/legacy-cases/case-837023@1.html new file mode 100644 index 0000000..201f993 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-837023@1.html @@ -0,0 +1,12 @@ + + +[ 837023 ] segfault on doctype-like element + + + +Just text. + + + + + \ No newline at end of file diff --git a/regression_testing/cases/legacy-cases/case-978947@0.html b/regression_testing/cases/legacy-cases/case-978947@0.html new file mode 100644 index 0000000..b68fa10 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-978947@0.html @@ -0,0 +1,22 @@ + + + + + +Bug: &nbsp; disappears after </pre> + + +Here the non-breaking spaces (     ) +remain. +

         Works multiple times +(     ) as well.
    +But . . .  :

    +
    +A block of 
    +preformatted text.
    +
    +Now the non-breaking spaces (     ) +are replaced with ordinary spaces, and disappear. + + diff --git a/regression_testing/cases/legacy-cases/case-996484@0.html b/regression_testing/cases/legacy-cases/case-996484@0.html new file mode 100644 index 0000000..89a05a3 --- /dev/null +++ b/regression_testing/cases/legacy-cases/case-996484@0.html @@ -0,0 +1,40 @@ + + + +test whether xx<...>yy</...> is wrapped properly + + +

    test 1.1 (no space)

    +

    xxyy

    + +

    test 1.2 (with space)

    +

    xx yy

    + +

    test 1.3 (with non breaking space)

    +

    xx yy

    + +

    test 2.1 (no space)

    +

    xxyy

    + +

    test 2.2 (with space)

    +

    xx yy

    + +

    test 2.3 (with non breaking space)

    +

    xx yy

    + +

    test 3 (no space)

    +

    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    +

    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    + +

    test 4 (<br>)

    +

    zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
    xx

    + +

    test 5 (no space in the front)

    +

    aa

    + +

    test 6 (no space in the front)

    +

    aaxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    + + + diff --git a/regression_testing/cases/legacy-cases/config_default.conf b/regression_testing/cases/legacy-cases/config_default.conf new file mode 100644 index 0000000..960ff1c --- /dev/null +++ b/regression_testing/cases/legacy-cases/config_default.conf @@ -0,0 +1,7 @@ +// HTML Tidy configuration - 20151217 +indent: auto +char-encoding: latin1 +tidy-mark: no +clean: yes +logical-emphasis: yes +indent-attributes: yes diff --git a/regression_testing/cases/legacy-expects/case-1002509.txt b/regression_testing/cases/legacy-expects/case-1002509.txt new file mode 100644 index 0000000..635c973 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1002509.txt @@ -0,0 +1,28 @@ +line 3 column 1 - Error: repeated FRAMESET element +line 21 column 3 - Warning: content occurs after end of body +line 21 column 3 - Warning: replacing with
    +line 21 column 3 - Warning: trimming empty
    +line 20 column 2 - Warning: trimming empty +line 19 column 1 - Warning: trimming empty <frameset> +Info: Doctype given is "-//W3C//DTD HTML 4.01 Frameset//EN" +Info: Document content looks like HTML 4.01 Frameset +Tidy found 5 warnings and 1 error! + +This document has errors that must be fixed before +using HTML Tidy to generate a tidied up version. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1003361.html b/regression_testing/cases/legacy-expects/case-1003361.html new file mode 100644 index 0000000..785aa08 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1003361.html @@ -0,0 +1,17 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title>1003361</title> +</head> +<body> + <button type="button"> + <div lang="all"> + <div lang="en"> + Lost Password + </div> + <div lang="sp"> + Lost Password (sp*) + </div> + </div></button> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1003361.txt b/regression_testing/cases/legacy-expects/case-1003361.txt new file mode 100644 index 0000000..bdea2dd --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1003361.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1004051.html b/regression_testing/cases/legacy-expects/case-1004051.html new file mode 100644 index 0000000..545532e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1004051.html @@ -0,0 +1,12 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<html> +<head> + <title>font</title> + <style type="text/css"> + span.c1 {font-size: 120%} + </style> +</head> +<body> + <span class="c1">yy</span> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1004051.txt b/regression_testing/cases/legacy-expects/case-1004051.txt new file mode 100644 index 0000000..9de8c4e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1004051.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 3.2 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1004512.html b/regression_testing/cases/legacy-expects/case-1004512.html new file mode 100644 index 0000000..b50aa46 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1004512.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>font tag with -clean</title> + <style type="text/css"> + span.c1 {font-size: 120%} + </style> +</head> +<body> + <ul> + <li><span class="c1">y2</span></li> + </ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1004512.txt b/regression_testing/cases/legacy-expects/case-1004512.txt new file mode 100644 index 0000000..9a2a1e4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1004512.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1014993.html b/regression_testing/cases/legacy-expects/case-1014993.html new file mode 100644 index 0000000..ebc9b65 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1014993.html @@ -0,0 +1,13 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>php-like tag</title> +</head> +<body> + <table summary=""> + <tr> + <td></td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1014993.txt b/regression_testing/cases/legacy-expects/case-1014993.txt new file mode 100644 index 0000000..ca9e08d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1014993.txt @@ -0,0 +1,29 @@ +line 6 column 1 - Warning: inserting implicit <body> +line 8 column 5 - Warning: missing </font> +line 6 column 1 - Warning: missing </table> +line 8 column 5 - Warning: trimming empty <font> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 4 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1015959.html b/regression_testing/cases/legacy-expects/case-1015959.html new file mode 100644 index 0000000..470a974 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1015959.html @@ -0,0 +1,13 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<html> +<head> + <title>[ #1015959 ] inline propagation</title> + <style type="text/css"> + span.c1 {font-size: 80%} + </style> +</head> +<body> + <p><span class="c1">1</span></p> + <p><span class="c1">2</span></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1015959.txt b/regression_testing/cases/legacy-expects/case-1015959.txt new file mode 100644 index 0000000..b2c5ed9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1015959.txt @@ -0,0 +1,29 @@ +line 7 column 1 - Warning: missing </font> before <p> +line 8 column 4 - Warning: inserting implicit <font> +line 9 column 4 - Warning: inserting implicit <font> +line 10 column 1 - Warning: discarding unexpected </font> +line 7 column 1 - Warning: trimming empty <font> +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 3.2 +Tidy found 5 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1027888.html b/regression_testing/cases/legacy-expects/case-1027888.html new file mode 100644 index 0000000..2cca88b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1027888.html @@ -0,0 +1,33 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>div merging tests</title> +</head> +<body> + <div id="id1"> + <p>1</p> + </div> + <div id="id2_1"> + <div id="id2_2"> + <p>2</p> + </div> + </div> + <div title="div2"> + <p>3</p> + </div> + <div class="cl1 cl2" + title="div2"> + <p>4</p> + </div> + <div title="div2" + onclick="f()" + id="id5"> + <p>5</p> + </div> + <div title="div2" + onclick="f()" + id="id6"> + <p>6</p> + </div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1027888.txt b/regression_testing/cases/legacy-expects/case-1027888.txt new file mode 100644 index 0000000..0a54d5b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1027888.txt @@ -0,0 +1,16 @@ +line 5 column 1 - Warning: inserting implicit <body> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1050673.html b/regression_testing/cases/legacy-expects/case-1050673.html new file mode 100644 index 0000000..09f3823 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1050673.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1050673.txt b/regression_testing/cases/legacy-expects/case-1050673.txt new file mode 100644 index 0000000..545486d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1050673.txt @@ -0,0 +1,27 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: inserting implicit <body> +line 1 column 1 - Warning: missing </b> before <ul> +line 3 column 1 - Warning: missing +line 2 column 1 - Warning: missing +line 1 column 1 - Warning: inserting missing 'title' element +line 1 column 1 - Warning: trimming empty +line 3 column 1 - Warning: trimming empty +line 2 column 1 - Warning: trimming empty <ul> +Info: Document content looks like HTML5 +Tidy found 9 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1052758.html b/regression_testing/cases/legacy-expects/case-1052758.html new file mode 100644 index 0000000..1c47ebb --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1052758.html @@ -0,0 +1,15 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" + xml:lang="fr"> +<head> + <title>Jean Racine</title> +</head> +<body> + <blockquote> + <p><cite>Pour qui sont ces serpents qui sifflent sur vos ttes + ?</cite><br /> + &mdash; Jean Racine, <cite>Andromaque</cite></p> + </blockquote> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1052758.txt b/regression_testing/cases/legacy-expects/case-1052758.txt new file mode 100644 index 0000000..4c1a546 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1052758.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.1//EN" +Info: Document content looks like XHTML 1.1 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1053626.html b/regression_testing/cases/legacy-expects/case-1053626.html new file mode 100644 index 0000000..0f935ce --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1053626.html @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title></title> +</head> +<body> + <ul> + <li> + <table> + <colgroup></colgroup> + </table> + </li> + </ul> + <hr> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1053626.txt b/regression_testing/cases/legacy-expects/case-1053626.txt new file mode 100644 index 0000000..0050c1f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1053626.txt @@ -0,0 +1,41 @@ +line 5 column 5 - Info: missing optional end tag </li> +line 6 column 1 - Warning: inserting implicit <table> +line 7 column 1 - Warning: <noframes> isn't allowed in <table> elements +line 6 column 1 - Info: <table> previously mentioned +line 9 column 1 - Warning: discarding unexpected </li> +line 10 column 1 - Warning: discarding unexpected </body> +line 7 column 1 - Warning: missing +line 6 column 1 - Warning: missing +line 5 column 1 - Warning: missing +line 3 column 1 - Warning: inserting missing 'title' element +line 6 column 1 - Warning: lacks "summary" attribute +line 7 column 1 - Warning: trimming empty +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 10 warnings and 0 errors! + +The table summary attribute should be used to describe +the table structure. It is very helpful for people using +non-visual browsers. The scope and headers attributes for +table cells are useful for specifying which headers apply +to each table cell, enabling non-visual browsers to provide +a meaningful context for each cell. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL. +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1055304.html b/regression_testing/cases/legacy-expects/case-1055304.html new file mode 100644 index 0000000..aebb3f7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1055304.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> + <title>1055304</title> +</head> +<body> + <img src="xx.png" + alt="" + ismap> <a href="aa"><img src="xx.png" + alt="" + ismap></a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1055304.txt b/regression_testing/cases/legacy-expects/case-1055304.txt new file mode 100644 index 0000000..1cc4eb4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1055304.txt @@ -0,0 +1,23 @@ +line 8 column 1 - Warning: <img> should use client-side image map +line 9 column 14 - Warning: <img> should use client-side image map +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Tidy found 2 warnings and 0 errors! + +Use client-side image maps in preference to server-side image +maps as the latter are inaccessible to people using non- +graphical browsers. In addition, client-side maps are easier +to set up and provide immediate feedback to users. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL. +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1055398.html b/regression_testing/cases/legacy-expects/case-1055398.html new file mode 100644 index 0000000..7ad39a2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1055398.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> +<title>test whether repairing duplicate attributes works</title> + +<style type="text/css"> + span.c1 {S1; S2} +</style> +</head> +<body> +<br> +<span class="c1"><br></span> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1055398.txt b/regression_testing/cases/legacy-expects/case-1055398.txt new file mode 100644 index 0000000..71519e9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1055398.txt @@ -0,0 +1,26 @@ +line 8 column 1 - Info: value for attribute "onload" missing quote marks +line 8 column 1 - Info: value for attribute "style" missing quote marks +line 8 column 1 - Info: value for attribute "style" missing quote marks +line 8 column 1 - Info: value for attribute "onload" missing quote marks +line 8 column 1 - Warning: <font> dropping value "L1" for repeated attribute "onload" +line 8 column 1 - Warning: <font> joining values of repeated attribute "style" +line 8 column 1 - Warning: missing </font> before </body> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML Proprietary +Tidy found 3 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1056023.html b/regression_testing/cases/legacy-expects/case-1056023.html new file mode 100644 index 0000000..09f3823 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1056023.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1056023.txt b/regression_testing/cases/legacy-expects/case-1056023.txt new file mode 100644 index 0000000..b8381fd --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1056023.txt @@ -0,0 +1,23 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: inserting implicit <body> +line 2 column 1 - Warning: discarding unexpected </tbody> +line 1 column 1 - Warning: inserting missing 'title' element +line 1 column 1 - Warning: trimming empty <tfoot> +Info: Document content looks like HTML5 +Tidy found 5 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1056910.html b/regression_testing/cases/legacy-expects/case-1056910.html new file mode 100644 index 0000000..f72025a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1056910.html @@ -0,0 +1,15 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>list fusion should not happen</title> +</head> +<body> + <ul> + <li> + <ul id="a1"></ul> + <table id="a2" + summary=""></table> + </li> + </ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1056910.txt b/regression_testing/cases/legacy-expects/case-1056910.txt new file mode 100644 index 0000000..7e8202f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1056910.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1062345.html b/regression_testing/cases/legacy-expects/case-1062345.html new file mode 100644 index 0000000..14fd0b9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1062345.html @@ -0,0 +1,12 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title></title> + <style type="text/css"> + br.c1 {&#TA; 2} + </style> +</head> +<body> + <br class="c1"> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1062345.txt b/regression_testing/cases/legacy-expects/case-1062345.txt new file mode 100644 index 0000000..c759313 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1062345.txt @@ -0,0 +1,17 @@ +line 5 column 12 - Warning: unescaped & or unknown entity "&#" +line 5 column 1 - Warning: <br> joining values of repeated attribute "style" +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1062511.html b/regression_testing/cases/legacy-expects/case-1062511.html new file mode 100644 index 0000000..6b72115 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1062511.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> + <base> +</head> +<body> + <hr> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1062511.txt b/regression_testing/cases/legacy-expects/case-1062511.txt new file mode 100644 index 0000000..f2b2729 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1062511.txt @@ -0,0 +1,30 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 2 column 1 - Warning: missing </title> before <marquee> +line 3 column 1 - Warning: inserting implicit <body> +line 3 column 1 - Warning: replacing unexpected basefont with </basefont> +line 3 column 1 - Warning: content occurs after end of body +line 6 column 1 - Warning: missing </b> before <base> +line 7 column 1 - Warning: <base> isn't allowed in <b> elements +line 6 column 1 - Info: <b> previously mentioned +line 6 column 1 - Warning: missing </b> before <hr> +line 3 column 1 - Warning: content occurs after end of body +line 3 column 1 - Warning: trimming empty <marquee> +line 6 column 1 - Warning: trimming empty <b> +Info: Document content looks like HTML5 +Tidy found 11 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1062661.html b/regression_testing/cases/legacy-expects/case-1062661.html new file mode 100644 index 0000000..1b2de28 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1062661.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <title>Google</title> +</head> +<body> + <a id="1a" + href="/imghp?hl=en&amp;tab=wi">Images</a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1062661.txt b/regression_testing/cases/legacy-expects/case-1062661.txt new file mode 100644 index 0000000..5a2f86e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1062661.txt @@ -0,0 +1,22 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 10 - Info: value for attribute "id" missing quote marks +line 6 column 37 - Warning: unescaped & or unknown entity "&tab" +line 5 column 1 - Warning: trimming empty <script> +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1063256.txt b/regression_testing/cases/legacy-expects/case-1063256.txt new file mode 100644 index 0000000..09432b2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1063256.txt @@ -0,0 +1,38 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 4 column 1 - Warning: discarding unexpected <frame> +line 5 column 1 - Error: <overlay> is not recognized! +line 5 column 1 - Warning: discarding unexpected <overlay> +line 9 column 1 - Warning: <spacer> isn't allowed in <tr> elements +line 8 column 1 - Info: <tr> previously mentioned +line 5 column 1 - Warning: missing +line 1 column 1 - Warning: inserting missing 'title' element +line 8 column 1 - Warning: trimming empty +line 2 column 1 - Warning: element removed from HTML5 +line 5 column 1 - Warning: element removed from HTML5 +line 9 column 1 - Warning: <spacer> is not approved by W3C +line 6 column 1 - Warning: <bgsound> is not approved by W3C +Info: Document content looks like HTML5 +Tidy found 11 warnings and 1 error! + +This document has errors that must be fixed before +using HTML Tidy to generate a tidied up version. + +You are recommended to use CSS for controlling white +space (e.g. for indentation, margins and line spacing). +The proprietary <SPACER> element has limited vendor support. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1067112.html b/regression_testing/cases/legacy-expects/case-1067112.html new file mode 100644 index 0000000..4aa0e11 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1067112.html @@ -0,0 +1,77 @@ +<?xml version="1.0"?> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>Word 2000</title> +</head> +<body> + <div class="Section1"> + <p>Word 2000</p> + <p> </p> + <h1>Heading 1</h1> + <h2><strong>Heading 2</strong></h2> + <h3><strong>Heading 3</strong></h3> + <p> </p> + <p>Some ordinary text to see how it handles paragraphs</p> + <p>A second paragraph</p> + <p> </p> + <ul type="disc"> + <li>One dot point</li> + <li>Two dot points</li> + <li>Three dot points</li> + </ul> + <p> </p> + <p> </p> + <ol start="1" + type="1"> + <li>One numbered point</li> + <li>Two numbered points</li> + <li>Three numbered points</li> + </ol> + <p> </p> + <table border="1" + cellspacing="0" + cellpadding="0"> + <tr> + <td valign="top"> + <p>One</p> + </td> + <td valign="top"> + <p>two</p> + </td> + <td valign="top"> + <p>three</p> + </td> + </tr> + <tr> + <td valign="top"> + <p>Four</p> + </td> + <td valign="top"> + <p>five</p> + </td> + <td valign="top"> + <p>six</p> + </td> + </tr> + <tr> + <td valign="top"> + <p>Seven</p> + </td> + <td valign="top"> + <p>eight</p> + </td> + <td valign="top"> + <p>nine</p> + </td> + </tr> + </table> + <p> </p> + <h5>Some italic text</h5> + <p> </p> + <h6>Some bold text</h6> + <p> </p> + <p>End of text</p> + </div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1067112.txt b/regression_testing/cases/legacy-expects/case-1067112.txt new file mode 100644 index 0000000..e69de29 diff --git a/regression_testing/cases/legacy-expects/case-1068087.html b/regression_testing/cases/legacy-expects/case-1068087.html new file mode 100644 index 0000000..e58409c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1068087.html @@ -0,0 +1,13 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>bad font size</title> + <style type="text/css"> + span.c1 {font-size: larger} + </style> +</head> +<body> + <span class="c1">b</span> + <p><span class="c1">a</span></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1068087.txt b/regression_testing/cases/legacy-expects/case-1068087.txt new file mode 100644 index 0000000..90c0085 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1068087.txt @@ -0,0 +1,25 @@ +line 5 column 13 - Warning: unescaped & or unknown entity "&#" +line 5 column 1 - Warning: missing </font> before <p> +line 6 column 4 - Warning: inserting implicit <font> +line 5 column 1 - Warning: <font> attribute "size" has invalid value "&#;" +line 6 column 4 - Warning: <font> attribute "size" has invalid value "&#;" +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 5 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1069549.html b/regression_testing/cases/legacy-expects/case-1069549.html new file mode 100644 index 0000000..e101f19 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1069549.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>test NestedList()</title> +</head> +<body> + <ul> + <li> + <p>q</p> + <ol id="b"></ol> + </li> + </ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1069549.txt b/regression_testing/cases/legacy-expects/case-1069549.txt new file mode 100644 index 0000000..7e8202f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1069549.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1069553.html b/regression_testing/cases/legacy-expects/case-1069553.html new file mode 100644 index 0000000..d189dc9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1069553.html @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>test NestedList()</title> +</head> +<body> + <ol id="a"></ol> + <ul id="b"></ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1069553.txt b/regression_testing/cases/legacy-expects/case-1069553.txt new file mode 100644 index 0000000..7e8202f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1069553.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1072528.html b/regression_testing/cases/legacy-expects/case-1072528.html new file mode 100644 index 0000000..09f3823 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1072528.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1072528.txt b/regression_testing/cases/legacy-expects/case-1072528.txt new file mode 100644 index 0000000..ea0fa4b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1072528.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: discarding malformed <!DOCTYPE> +line 2 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1078345.html b/regression_testing/cases/legacy-expects/case-1078345.html new file mode 100644 index 0000000..d944876 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1078345.html @@ -0,0 +1,21 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<title></title> +</head> +<body> +<p>Some text.</p> +<noscript> +<div> +<p>Some other text.</p> +</div> +</noscript> +<div> +<blockquote> +<p>Text</p> +<noscript> +<p>Text</p> +</noscript></blockquote> +</div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1078345.txt b/regression_testing/cases/legacy-expects/case-1078345.txt new file mode 100644 index 0000000..9a2a1e4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1078345.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1079820.html b/regression_testing/cases/legacy-expects/case-1079820.html new file mode 100644 index 0000000..5851da1 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1079820.html @@ -0,0 +1,34 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title></title> + <style type="text/css"> + span.c1 {text-decoration: underline} + </style> +</head> +<body> + <p>text <span lang="en">more text <span lang="la">latin + text</span> text</span> text.</p> + <p>text <span lang="en">more text <span>latin text</span> + text</span> text.</p> + <p>text <span lang="en"><span>latin text</span> text</span> + text.</p> + <p>text <span>more text <span lang="la">latin text</span> + text</span> text.</p> + <p><span class="helplink"><span>blah blah ... long + description</span>short text</span></p> + <p>text <span class="c1" + lang="en">more text <span class="c1" + lang="la">latin text</span> text</span> text.</p> + <p>text <span class="c1" + lang="en">more text <span class="c1">latin text</span> + text</span> text.</p> + <p>text <span class="c1" + lang="en"><span class="c1">latin text</span> text</span> + text.</p> + <p>text <span class="c1">more text <span class="c1" + lang="la">latin text</span> text</span> + text.</p><span class="helplink c1"><span class="c1">blah + blah ... long description</span>short text</span> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1079820.txt b/regression_testing/cases/legacy-expects/case-1079820.txt new file mode 100644 index 0000000..941fef4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1079820.txt @@ -0,0 +1,19 @@ +line 32 column 9 - Warning: nested emphasis <u> +line 36 column 9 - Warning: nested emphasis <u> +line 40 column 9 - Warning: nested emphasis <u> +line 44 column 1 - Warning: nested emphasis <u> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1086083.html b/regression_testing/cases/legacy-expects/case-1086083.html new file mode 100644 index 0000000..7a7ebaf --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1086083.html @@ -0,0 +1,20 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title></title> +</head> +<body> + <table summary=""> + <tr> + <td> + <ul> + <li>Huh?</li> + </ul> + </td> + </tr> + </table> + <ul> + <li>Huh?</li> + </ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1086083.txt b/regression_testing/cases/legacy-expects/case-1086083.txt new file mode 100644 index 0000000..b6fb15f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1086083.txt @@ -0,0 +1,23 @@ +line 11 column 1 - Warning: inserting implicit <ul> +line 11 column 1 - Warning: missing </ul> before </td> +line 16 column 1 - Warning: <li> isn't allowed in <body> elements +line 6 column 1 - Info: <body> previously mentioned +line 16 column 1 - Warning: inserting implicit <ul> +line 18 column 1 - Warning: discarding unexpected </body> +line 19 column 1 - Warning: discarding unexpected </html> +line 16 column 1 - Warning: missing </ul> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 7 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1090318.html b/regression_testing/cases/legacy-expects/case-1090318.html new file mode 100644 index 0000000..2c62e1b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1090318.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"> +<html> +<head> + <title></title> +</head> +<frameset> + <frameset> + <noframes> + <body> + </body> + + + + diff --git a/regression_testing/cases/legacy-expects/case-1090318.txt b/regression_testing/cases/legacy-expects/case-1090318.txt new file mode 100644 index 0000000..4458aa9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1090318.txt @@ -0,0 +1,16 @@ +line 9 column 1 - Warning: discarding unexpected

    +Info: Doctype given is "-//W3C//DTD HTML 4.01 Frameset//EN" +Info: Document content looks like HTML 4.01 Frameset +Info: No system identifier in emitted doctype +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1098012.html b/regression_testing/cases/legacy-expects/case-1098012.html new file mode 100644 index 0000000..a841f1c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1098012.html @@ -0,0 +1,12 @@ + + + + + + +

    +
    +
    +
    + + diff --git a/regression_testing/cases/legacy-expects/case-1098012.txt b/regression_testing/cases/legacy-expects/case-1098012.txt new file mode 100644 index 0000000..68fb147 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1098012.txt @@ -0,0 +1,40 @@ +line 7 column 1 - Warning: isn't allowed in <table> elements +line 6 column 1 - Info: <table> previously mentioned +line 9 column 1 - Warning: discarding unexpected </dd> +line 10 column 1 - Warning: discarding unexpected </body> +line 7 column 1 - Warning: missing +line 6 column 1 - Warning: missing
    +line 5 column 1 - Warning: missing +line 3 column 1 - Warning: inserting missing 'title' element +line 6 column 1 - Warning: lacks "summary" attribute +line 7 column 1 - Warning: trimming empty +line 6 column 1 - Warning: trimming empty <table> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 10 warnings and 0 errors! + +The table summary attribute should be used to describe +the table structure. It is very helpful for people using +non-visual browsers. The scope and headers attributes for +table cells are useful for specifying which headers apply +to each table cell, enabling non-visual browsers to provide +a meaningful context for each cell. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL. +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1107622.html b/regression_testing/cases/legacy-expects/case-1107622.html new file mode 100644 index 0000000..fc7b722 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1107622.html @@ -0,0 +1,11 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>name to id</title> +</head> +<body> + <p><a id="a1" + name="a2">a</a></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1107622.txt b/regression_testing/cases/legacy-expects/case-1107622.txt new file mode 100644 index 0000000..fbc3ddf --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1107622.txt @@ -0,0 +1,15 @@ +line 8 column 1 - Warning: <a> id and name attribute value mismatch +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Strict +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1115094.html b/regression_testing/cases/legacy-expects/case-1115094.html new file mode 100644 index 0000000..0b3822d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1115094.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title></title> +</head> +<body> + <p>xx yy</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1115094.txt b/regression_testing/cases/legacy-expects/case-1115094.txt new file mode 100644 index 0000000..6ba5a6f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1115094.txt @@ -0,0 +1,22 @@ +line 7 column 9 - Warning: trimming empty <span> +line 7 column 6 - Warning: trimming empty <b> +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 2 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1117013.html b/regression_testing/cases/legacy-expects/case-1117013.html new file mode 100644 index 0000000..0dd58e8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1117013.html @@ -0,0 +1,13 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <meta http-equiv="Content-Type" + content="text/html; charset=iso-8859-1"> + <meta http-equiv="Content-Type" + content=""> + <title>test 1117013</title> +</head> +<body> + <p>a</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1117013.txt b/regression_testing/cases/legacy-expects/case-1117013.txt new file mode 100644 index 0000000..7e8202f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1117013.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1145571.html b/regression_testing/cases/legacy-expects/case-1145571.html new file mode 100644 index 0000000..b300494 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1145571.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>invalid name to id</title> +</head> +<body> + <p><a name="a b">a</a></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1145571.txt b/regression_testing/cases/legacy-expects/case-1145571.txt new file mode 100644 index 0000000..50c91a0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1145571.txt @@ -0,0 +1,16 @@ +line 8 column 1 - Warning: <a> cannot copy name attribute to id +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1145572.html b/regression_testing/cases/legacy-expects/case-1145572.html new file mode 100644 index 0000000..0a87ded --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1145572.html @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>name vs id in anchor elements</title> +</head> +<body> + <p><a id="ab">a</a></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1145572.txt b/regression_testing/cases/legacy-expects/case-1145572.txt new file mode 100644 index 0000000..4c1a546 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1145572.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.1//EN" +Info: Document content looks like XHTML 1.1 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1168193.html b/regression_testing/cases/legacy-expects/case-1168193.html new file mode 100644 index 0000000..5704bae --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1168193.html @@ -0,0 +1,19 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>span merging tests</title> +</head> +<body> + <p><span id="id1">1</span></p> + <p><span id="id2_1"><span id="id2_2">2</span></span></p> + <p><span title="span2">3</span></p> + <p><span class="cl1 cl2" + title="span2">4</span></p> + <p><span title="span2" + onclick="f()" + id="id5">5</span></p> + <p><span title="span2" + onclick="f()" + id="id6">6</span></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1168193.txt b/regression_testing/cases/legacy-expects/case-1168193.txt new file mode 100644 index 0000000..0a54d5b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1168193.txt @@ -0,0 +1,16 @@ +line 5 column 1 - Warning: inserting implicit <body> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1183751.html b/regression_testing/cases/legacy-expects/case-1183751.html new file mode 100644 index 0000000..5ee2ad8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1183751.html @@ -0,0 +1,113 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title>char attribute in table</title> + <style type="text/css"> + tfoot.c3 {text-align: char} + tbody.c2 {text-align: char} + col.c1 {text-align: char} + </style> +</head> +<body> + <table summary=""> + <colgroup> + <col class="c1" + char="."> + <col class="c1" + char="."> + </colgroup> + <tr> + <td>55.00</td> + <td>55555.00</td> + </tr> + <tr> + <td>1234.56</td> + <td>123.45</td> + </tr> + </table> + <table summary=""> + <tbody class="c2" + char="."> + <tr> + <td>55.00</td> + <td>55555.00</td> + </tr> + <tr> + <td>1234.56</td> + <td>123.45</td> + </tr> + </tbody> + </table> + <table summary=""> + <tr> + <td align="char" + char=".">55.00</td> + <td align="char" + char=".">55555.00</td> + </tr> + <tr> + <td align="char" + char=".">1234.56</td> + <td align="char" + char=".">123.45</td> + </tr> + </table> + <table summary=""> + <thead> + <tr> + <td>THEAD</td> + <td>THEAD</td> + <td>THEAD</td> + </tr> + <tr> + <td>THEAD</td> + <td>THEAD</td> + <td>THEAD</td> + </tr> + </thead> + <tfoot class="c3" + char="."> + <tr> + <td>TFOOT 55.00</td> + <td>TFOOT 55555.00</td> + <td>TFOOT 555.00</td> + </tr> + <tr> + <td>TFOOT 1234.56</td> + <td>TFOOT 123.45</td> + <td>TFOOT 12345.67</td> + </tr> + </tfoot> + <tbody> + <tr> + <td>TBODY</td> + <td>TBODY</td> + <td>TBODY</td> + </tr> + <tr> + <td>TBODY</td> + <td>TBODY</td> + <td>TBODY</td> + </tr> + </tbody> + </table> + <table summary=""> + <tr> + <th align="char" + char=".">55.00</th> + <th align="char" + char=".">55555.00</th> + <th align="char" + char=".">555.00</th> + </tr> + <tr> + <th align="char" + char=".">1234.56</th> + <th align="char" + char=".">123.45</th> + <th align="char" + char=".">12345.67</th> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1183751.txt b/regression_testing/cases/legacy-expects/case-1183751.txt new file mode 100644 index 0000000..466086f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1183751.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1198501.html b/regression_testing/cases/legacy-expects/case-1198501.html new file mode 100644 index 0000000..8091ebf --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1198501.html @@ -0,0 +1,29 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/REC-html401/loose.dtd"> +<html> +<head> + <meta name="generator" + content= + "HTML Tidy for Cygwin (vers 27 December 2006), see www.w3.org"> + + <title>1198501</title> + <style type="text/css"> + table.c3 {background-color: yellow} + tr.c2 {background-color: red} + th.c1 {background-color: aqua} + </style> +</head> +<body> + <table class="c3" + summary=""> + <tr class="c2"> + <th class="c1">1</th> + <th>2</th> + </tr> + <tr> + <td>3</td> + <td>4</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1198501.txt b/regression_testing/cases/legacy-expects/case-1198501.txt new file mode 100644 index 0000000..f0f8d57 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1198501.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1207443.html b/regression_testing/cases/legacy-expects/case-1207443.html new file mode 100644 index 0000000..dd0fa03 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1207443.html @@ -0,0 +1,29 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title></title> +</head> +<body> +<form action="post"> +<p>A test input box</p> +<p><input type="text" align="left" /></p> +<p>&nbsp;</p> +<p>Radio buttons <input type="radio" /></p> +<p>A check box <input type="checkbox" /></p> +<p><br clear="all" /></p> +</form> +<ul type="disc"> +<li>item 1</li> +<li>item 2</li> +</ul> +<ol type="I"> +<li>item 1</li> +<li>item 2</li> +</ol> +<ul> +<li type="a">item 1</li> +<li type="A">item 2</li> +</ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1207443.txt b/regression_testing/cases/legacy-expects/case-1207443.txt new file mode 100644 index 0000000..70f61ab --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1207443.txt @@ -0,0 +1,17 @@ +line 17 column 1 - Info: missing optional end tag </li> +line 22 column 1 - Info: missing optional end tag </li> +line 27 column 1 - Info: missing optional end tag </li> +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1210752.html b/regression_testing/cases/legacy-expects/case-1210752.html new file mode 100644 index 0000000..08cd137 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1210752.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title></title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1210752.txt b/regression_testing/cases/legacy-expects/case-1210752.txt new file mode 100644 index 0000000..21fb1c0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1210752.txt @@ -0,0 +1,22 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: inserting implicit <body> +line 1 column 1 - Warning: inserting missing 'title' element +line 1 column 1 - Warning: trimming empty <p> +Info: Document content looks like XHTML5 +Tidy found 4 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1231279.html b/regression_testing/cases/legacy-expects/case-1231279.html new file mode 100644 index 0000000..0073ae9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1231279.html @@ -0,0 +1,17 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> + <meta http-equiv="Content-Type" + content="text/html; charset=iso-8859-1"> + <title>1231279</title> +</head> +<body> + <div id="aBcDeF"> + x + </div> + <div id="aBcDeF"> + y + </div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1231279.txt b/regression_testing/cases/legacy-expects/case-1231279.txt new file mode 100644 index 0000000..e93c573 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1231279.txt @@ -0,0 +1,15 @@ +line 10 column 1 - Warning: <div> anchor "aBcDeF" already defined +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1235296.html b/regression_testing/cases/legacy-expects/case-1235296.html new file mode 100644 index 0000000..ca766f1 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1235296.html @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>1235296</title> +</head> +<body> + <p>x<sub>a<sub>1</sub></sub></p> + <p>x<sup>a<sup>1</sup></sup></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1235296.txt b/regression_testing/cases/legacy-expects/case-1235296.txt new file mode 100644 index 0000000..d461d76 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1235296.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1241723.html b/regression_testing/cases/legacy-expects/case-1241723.html new file mode 100644 index 0000000..148d5ac --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1241723.html @@ -0,0 +1,37 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<html> +<head> + <title>1241723</title> + <style type="text/css"> + span.c13 {font-size: 298%} + span.c12 {font-size: 248%} + span.c11 {font-size: 207%} + span.c10 {font-size: 172%} + span.c9 {font-size: 144%} + span.c8 {font-size: 120%} + span.c7 {font-size: 26%} + span.c6 {font-size: 32%} + span.c5 {font-size: 40%} + span.c4 {font-size: 51%} + span.c3 {font-size: 64%} + span.c2 {font-size: 80%} + span.c1 {font-size: 100%} + </style> +</head> +<body> + <p><span class="c1">hi</span></p> + <p><span class="c2">hi</span></p> + <p><span class="c3">hi</span></p> + <p><span class="c4">hi</span></p> + <p><span class="c5">hi</span></p> + <p><span class="c6">hi</span></p> + <p><span class="c7">hi</span></p> + <p><span class="c1">hi</span></p> + <p><span class="c8">hi</span></p> + <p><span class="c9">hi</span></p> + <p><span class="c10">hi</span></p> + <p><span class="c11">hi</span></p> + <p><span class="c12">hi</span></p> + <p><span class="c13">hi</span></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1241723.txt b/regression_testing/cases/legacy-expects/case-1241723.txt new file mode 100644 index 0000000..9de8c4e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1241723.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 3.2 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1263391.html b/regression_testing/cases/legacy-expects/case-1263391.html new file mode 100644 index 0000000..ce7ebad --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1263391.html @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" + xml:lang="fr" + lang="fr"> +<head> + <title>My page</title> +</head> +<body id="cv"> + This should return 2 HTML errors. But there is none<br /> + DIV or UL are not allowed in address<br /> + <address id="contact_postal"> + <div id="identite"> + toto titi + </div> + <div id="adresse"> + 1st street<br /> + 23X52 - NY<br /> + </div> + </address> + <hr /> + <address id="contact_autre"> + <ul id="contact_tel"> + <li id="portable">...</li> + <li id="fixe">...</li> + </ul> + </address> + <hr /> + <p>p is allowed within address only in html transitional.</p> + <address id="contact_autre"> + <p><a id="adresse_mail" + href="/path/to/contact/page" + name="adresse_mail">contact name</a></p> + </address> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1263391.txt b/regression_testing/cases/legacy-expects/case-1263391.txt new file mode 100644 index 0000000..0576b60 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1263391.txt @@ -0,0 +1,15 @@ +line 26 column 4 - Warning: <address> anchor "contact_autre" already defined +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Transitional +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1266647.html b/regression_testing/cases/legacy-expects/case-1266647.html new file mode 100644 index 0000000..c44d772 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1266647.html @@ -0,0 +1,10 @@ +<!----【----> +<!-- This is just padding: SourceForge dislikes files under 20 bytes long --> +<!DOCTYPE html> +<html> +<head> +<title></title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1266647.txt b/regression_testing/cases/legacy-expects/case-1266647.txt new file mode 100644 index 0000000..ac277ed --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1266647.txt @@ -0,0 +1,14 @@ +line 3 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1282835.html b/regression_testing/cases/legacy-expects/case-1282835.html new file mode 100644 index 0000000..49afe7d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1282835.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" +"http://www.w3.org/TR/REC-html40/loose.dtd"> +<html> +<head> + <title>HTML NOHREF - HTML Code Tutorial</title> +</head> +<body> + <div align="center"> + <map name="map1" + id="map1"> + <!-- this area is missing a 'alt' --> + <!-- href is also not mandatory --> + <area nohref + shape="circle" + coords="79,79, 56" + alt="ohoh"> + <area href="thecircle.html" + alt="The Circle" + title="The Circle" + shape="circle" + coords="79,79, 78"> + </map> <img src="circleincircle.gif" + height="158" + width="158" + alt="Click the O!" + border="0" + usemap="#map1"><br> + [ <a href="thecircle.html">The O</a> ] + </div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1282835.txt b/regression_testing/cases/legacy-expects/case-1282835.txt new file mode 100644 index 0000000..c8bcacd --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1282835.txt @@ -0,0 +1,20 @@ +line 8 column 1 - Info: value for attribute "align" missing quote marks +line 14 column 1 - Info: value for attribute "shape" missing quote marks +line 19 column 1 - Info: value for attribute "shape" missing quote marks +line 25 column 1 - Info: value for attribute "height" missing quote marks +line 25 column 1 - Info: value for attribute "width" missing quote marks +line 25 column 1 - Info: value for attribute "border" missing quote marks +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1286029.html b/regression_testing/cases/legacy-expects/case-1286029.html new file mode 100644 index 0000000..5ccccc2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1286029.html @@ -0,0 +1,13 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> + <title>HTML NOHREF - HTML Code Tutorial</title> +</head> +<body> + <form action=""> + <input type="text" + value="toto"> + </form> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1286029.txt b/regression_testing/cases/legacy-expects/case-1286029.txt new file mode 100644 index 0000000..f0f8d57 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1286029.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1286278.html b/regression_testing/cases/legacy-expects/case-1286278.html new file mode 100644 index 0000000..a583954 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1286278.html @@ -0,0 +1,27 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<title>1286278</title> +</head> +<body> +<div>hello +<p></p> +hello +<p></p> +<p></p> +hello +<p></p> +<p></p> +<p></p> +hello</div> +<hr> +<div>hello +<p></p> +hello +<p></p> +hello +<p></p> +hello</div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1286278.txt b/regression_testing/cases/legacy-expects/case-1286278.txt new file mode 100644 index 0000000..8a0262e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1286278.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1316258.html b/regression_testing/cases/legacy-expects/case-1316258.html new file mode 100644 index 0000000..ad14399 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1316258.html @@ -0,0 +1,35 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title>1316258</title> + <style type="text/css"> + div.c1 {text-align: center} + </style> +</head> +<body> + <p>This is text that should appear BEFORE the table.</p> + <div class="c1"> + <table cellspacing="0" + border="1" + cellpadding="2" + width="662" + summary=""> + <tr> + <td>Row 1 - Col 1</td> + <td>Row 1 - Col 2</td> + <td>Row 1 - Col 3</td> + <td>Row 1 - Col 4</td> + <td>Row 1 - Col 5</td> + </tr> + <tr> + <td>Row 2 - Col 1</td> + <td>Row 2 - Col 2</td> + <td>Row 2 - Col 3</td> + <td>Row 2 - Col 4</td> + <td>Row 2 - Col 5</td> + </tr> + </table> + </div> + <p>This is text that should appear AFTER the table.</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1316258.txt b/regression_testing/cases/legacy-expects/case-1316258.txt new file mode 100644 index 0000000..8718915 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1316258.txt @@ -0,0 +1,16 @@ +line 12 column 1 - Warning: discarding unexpected </center> +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1316307a.html b/regression_testing/cases/legacy-expects/case-1316307a.html new file mode 100644 index 0000000..8ccd1da --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1316307a.html @@ -0,0 +1,36 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title>1316307</title> + <style type="text/css"> + div.c1 {text-align: center} + </style> +</head> +<body> + <p>This is text that should appear BEFORE the table.</p> + <div class="c1"> + <table cellspacing="0" + border="1" + cellpadding="2" + width="662" + summary=""> + <tr> + <td>Row 1 - Col 1</td> + <td>Row 1 - Col 2</td> + <td>Row 1 - Col 3</td> + <td>Row 1 - Col 4</td> + <td>Row 1 - Col 5</td> + </tr> + <tr> + <td>Row 2 - Col 1</td> + <td>Row 2 - Col 2</td> + <td>Row 2 - Col 3</td> + <td>Row 2 - Col 4</td> + <td>Row 2 - Col 5</td> + </tr> + </table> + </div> + <p>This is text that should appear AFTER the table. HTML Tidy + output however shows it BEFORE the table.</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1316307a.txt b/regression_testing/cases/legacy-expects/case-1316307a.txt new file mode 100644 index 0000000..d659080 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1316307a.txt @@ -0,0 +1,28 @@ +line 9 column 1 - Info: value for attribute "cellspacing" missing quote marks +line 9 column 1 - Info: value for attribute "border" missing quote marks +line 9 column 1 - Info: value for attribute "cellpadding" missing quote marks +line 9 column 1 - Info: value for attribute "width" missing quote marks +line 13 column 1 - Warning: <center> isn't allowed in <tr> elements +line 10 column 9 - Info: <tr> previously mentioned +line 13 column 1 - Warning: missing </center> before <td> +line 13 column 1 - Warning: trimming empty <center> +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 3 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1316307b.html b/regression_testing/cases/legacy-expects/case-1316307b.html new file mode 100644 index 0000000..9588a55 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1316307b.html @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title>1316307-2</title> +</head> +<body> + <table> + <tr> + <td>Cell Data</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1316307b.txt b/regression_testing/cases/legacy-expects/case-1316307b.txt new file mode 100644 index 0000000..d7c38d3 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1316307b.txt @@ -0,0 +1,34 @@ +line 7 column 1 - Warning: <ul> isn't allowed in <tr> elements +line 6 column 1 - Info: <tr> previously mentioned +line 11 column 1 - Warning: discarding unexpected </ul> +line 5 column 1 - Warning: <table> lacks "summary" attribute +line 7 column 1 - Warning: trimming empty <ul> +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 4 warnings and 0 errors! + +The table summary attribute should be used to describe +the table structure. It is very helpful for people using +non-visual browsers. The scope and headers attributes for +table cells are useful for specifying which headers apply +to each table cell, enabling non-visual browsers to provide +a meaningful context for each cell. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL. +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1326520.html b/regression_testing/cases/legacy-expects/case-1326520.html new file mode 100644 index 0000000..0703497 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1326520.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> +<head> + <title>1326520</title> +</head> +<frameset> + <noframes> + <body> + <dl> + <dd> + <div> + <table summary=""> + <tr> + <td></td> + </tr> + </table> + </div> + </dd> + <dd></dd> + </dl> + </body> + + + diff --git a/regression_testing/cases/legacy-expects/case-1326520.txt b/regression_testing/cases/legacy-expects/case-1326520.txt new file mode 100644 index 0000000..c79fe63 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1326520.txt @@ -0,0 +1,27 @@ +line 1 column 1 - Warning: missing declaration +line 12 column 7 - Warning:
    isn't allowed in
    elements +line 11 column 5 - Info: previously mentioned +line 12 column 7 - Warning: missing before
    +line 8 column 3 - Info: missing optional end tag +line 10 column 5 - Warning: The summary attribute on the element is obsolete in HTML5 +line 12 column 7 - Warning: trimming empty
    +line 3 column 1 - Warning: element removed from HTML5 +line 4 column 3 - Warning: element removed from HTML5 +Info: Document content looks like HTML5 +Tidy found 7 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1331849.html b/regression_testing/cases/legacy-expects/case-1331849.html new file mode 100644 index 0000000..162cc59 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1331849.html @@ -0,0 +1,32 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <title>1331849</title> +</head> +<body> + Text BEFORE [implied] table + <table> + <tr> + <td>Implied table cell.</td> + <td>Implied because there is no opening table tag - just an + opening table row tag.</td> + </tr> + <tr> + <td width="2%" + valign="top">2nd Row of implied table</td> + <td>More text</td> + </tr> + </table>Text AFTER [implied] table but BEFORE the correctly + specified table + <table border="1"> + <tr> + <td>Row 1 - Cell 1</td> + <td>Row 1 - Cell 2</td> + </tr> + <tr> + <td>Row 2 - Cell 1</td> + <td>Row 2 - Cell 2</td> + </tr> + </table>Text that appears AFTER table the end! +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1331849.txt b/regression_testing/cases/legacy-expects/case-1331849.txt new file mode 100644 index 0000000..d8fcf6d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1331849.txt @@ -0,0 +1,29 @@ +line 9 column 1 - Warning: <tr> isn't allowed in <body> elements +line 6 column 1 - Info: <body> previously mentioned +line 9 column 1 - Warning: inserting implicit <table> +line 9 column 1 - Warning: <table> lacks "summary" attribute +line 29 column 1 - Warning: <table> lacks "summary" attribute +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 4 warnings and 0 errors! + +The table summary attribute should be used to describe +the table structure. It is very helpful for people using +non-visual browsers. The scope and headers attributes for +table cells are useful for specifying which headers apply +to each table cell, enabling non-visual browsers to provide +a meaningful context for each cell. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL. +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1333579.html b/regression_testing/cases/legacy-expects/case-1333579.html new file mode 100644 index 0000000..62c2a0c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1333579.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title>1333579</title> + <style type="text/css"> + div.c1 {text-indent: 3%} + </style> +</head> +<body> + <td>inferred table</td> + <div class="c1"> + <p>Paragraph Text nested in a DIV</p> + </div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1333579.txt b/regression_testing/cases/legacy-expects/case-1333579.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1333579.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1359292.html b/regression_testing/cases/legacy-expects/case-1359292.html new file mode 100644 index 0000000..0e381e2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1359292.html @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>1359292 - Word 2000</title> +</head> +<body> + <p></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1359292.txt b/regression_testing/cases/legacy-expects/case-1359292.txt new file mode 100644 index 0000000..01acfa8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1359292.txt @@ -0,0 +1,19 @@ +line 6 column 1 - Info: value for attribute "http-equiv" missing quote marks +line 7 column 1 - Info: value for attribute "name" missing quote marks +line 7 column 1 - Info: value for attribute "content" missing quote marks +line 8 column 1 - Info: value for attribute "name" missing quote marks +line 9 column 1 - Info: value for attribute "name" missing quote marks +line 13 column 1 - Info: value for attribute "lang" missing quote marks +Info: Document content looks like XHTML5 +Tidy found 3 warnings and 0 errors! Not all warnings/errors were shown. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1398397.html b/regression_testing/cases/legacy-expects/case-1398397.html new file mode 100644 index 0000000..09f3823 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1398397.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1398397.txt b/regression_testing/cases/legacy-expects/case-1398397.txt new file mode 100644 index 0000000..3cacf07 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1398397.txt @@ -0,0 +1,28 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 2 column 1 - Warning: inserting implicit <body> +line 3 column 1 - Warning: <ul> isn't allowed in <table> elements +line 2 column 1 - Info: <table> previously mentioned +line 3 column 1 - Warning: missing </ul> +line 2 column 1 - Warning: missing </table> +line 2 column 1 - Warning: inserting missing 'title' element +line 4 column 1 - Warning: trimming empty <tr> +line 3 column 1 - Warning: trimming empty <ul> +line 2 column 1 - Warning: trimming empty <table> +Info: Document content looks like HTML5 +Tidy found 9 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1407266.html b/regression_testing/cases/legacy-expects/case-1407266.html new file mode 100644 index 0000000..7cf6e3d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1407266.html @@ -0,0 +1,8 @@ +<!DOCTYPE html> +<html> +<head> +<title>1407266</title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1407266.txt b/regression_testing/cases/legacy-expects/case-1407266.txt new file mode 100644 index 0000000..45c8cc4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1407266.txt @@ -0,0 +1,21 @@ +Warning: replacing invalid character code 159 +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +Character codes 128 to 159 (U+0080 to U+009F) are not allowed in HTML; +even if they were, they would likely be unprintable control characters. +Tidy assumed you wanted to refer to a character with the same byte value in the +specified encoding and replaced that reference with the Unicode +equivalent. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1408034.html b/regression_testing/cases/legacy-expects/case-1408034.html new file mode 100644 index 0000000..3171254 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1408034.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> +<title></title> +</head> +<body> +x xxx xx +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1408034.txt b/regression_testing/cases/legacy-expects/case-1408034.txt new file mode 100644 index 0000000..f919ebc --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1408034.txt @@ -0,0 +1,18 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: plain text isn't allowed in <head> elements +line 1 column 1 - Info: <head> previously mentioned +line 1 column 1 - Warning: inserting implicit <body> +line 1 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1410061a.html b/regression_testing/cases/legacy-expects/case-1410061a.html new file mode 100644 index 0000000..6f4d028 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1410061a.html @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html> +<head> +<title>1410061</title> + +<style type="text/css"> + ul.c1 {padding-left: 2ex; margin-left: 0ex; margin-top: 0ex; margin-bottom: 0ex} +</style> +</head> +<body> +The Compact E.O.S. is composed of two integrated modules: the well +known Agfa daylight system and the Agfa Classic E.O.S. film +processor. The small footprint enables it to be installed even in +restricted spaces. The Compact E.O.S. can be extended at the back +with a table for film processing from a darkroom.<br> +<br> +<li>capacity: up to 240 films per hour (medium format)<br> +<ul class="c1"> +<li>cassette cycle time: 15 s<br></li> +<li>film formats: 18 x24cm to 35 x 43cm<br></li> +<li>film storage magazines that can be used: Curix, Scopix<br></li> +<li>loading and unloading module with 7 dispensers<br></li> +<li>integrated time switch for automatically switching on and off +at preselected times<br></li> +<li>stand-by circuit<br></li> +<li>water economy circuit for the integrated film +processor<br></li> +<li>film surface scanning for optimum regeneration depending on the +film throughput<br></li> +<li>infrared cold air drier offers reduced power consumption with +lower heat dissipation<br></li> +<li>interactive operating display that shows operating state and +possible service messages<br> +<br></li> +</ul> +</li> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1410061a.txt b/regression_testing/cases/legacy-expects/case-1410061a.txt new file mode 100644 index 0000000..3d945ec --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1410061a.txt @@ -0,0 +1,35 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 319 - Info: missing optional end tag </li> +line 6 column 378 - Warning: inserting implicit <ul> +line 6 column 378 - Info: missing optional end tag </li> +line 6 column 412 - Info: missing optional end tag </li> +line 6 column 456 - Info: missing optional end tag </li> +line 6 column 519 - Info: missing optional end tag </li> +line 6 column 574 - Info: missing optional end tag </li> +line 6 column 665 - Info: missing optional end tag </li> +line 6 column 690 - Info: missing optional end tag </li> +line 6 column 754 - Info: missing optional end tag </li> +line 6 column 842 - Info: missing optional end tag </li> +line 6 column 378 - Warning: missing </ul> before </li> +line 6 column 1046 - Warning: discarding unexpected </li> +line 6 column 1051 - Warning: discarding unexpected </li> +line 6 column 1056 - Warning: discarding unexpected </li> +line 6 column 1061 - Warning: discarding unexpected </li> +line 6 column 1066 - Warning: discarding unexpected </li> +line 6 column 1071 - Warning: discarding unexpected </li> +line 6 column 1076 - Warning: discarding unexpected </li> +line 6 column 1081 - Warning: discarding unexpected </li> +line 6 column 1086 - Warning: discarding unexpected </li> +Info: Document content looks like HTML5 +Tidy found 12 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1410061b.html b/regression_testing/cases/legacy-expects/case-1410061b.html new file mode 100644 index 0000000..c022158 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1410061b.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<head> +<title>1410061 - issue 1 inferred ul</title> + +<style type="text/css"> + span.c1 {font-size: 200%} +</style> +</head> +<body> +<b><span class="c1">In bold</span></b> +<li><span class="c1">Not in bold</span></li> +<li><span class="c1">With font size 6</span></li> +<li><span class="c1">But should NOT be indented</span></li> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1410061b.txt b/regression_testing/cases/legacy-expects/case-1410061b.txt new file mode 100644 index 0000000..c633f33 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1410061b.txt @@ -0,0 +1,31 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 4 - Warning: replacing unexpected b with </b> +line 6 column 30 - Warning: inserting implicit <font> +line 6 column 30 - Warning: missing </font> before <li> +line 7 column 5 - Warning: inserting implicit <font> +line 8 column 5 - Warning: inserting implicit <font> +line 9 column 5 - Warning: inserting implicit <font> +line 6 column 30 - Warning: trimming empty <font> +Info: Document content looks like HTML5 +Tidy found 8 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1410061c.html b/regression_testing/cases/legacy-expects/case-1410061c.html new file mode 100644 index 0000000..7ec491a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1410061c.html @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<html> +<head> +<title>1410061 - issue 2 - inline propagation</title> + +<style type="text/css"> + span.c1 {font-size: 200%} +</style> +</head> +<body> +<b><span class="c1">In bold</span></b> +<ul> +<li><span class="c1">Not in bold</span></li> +</ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1410061c.txt b/regression_testing/cases/legacy-expects/case-1410061c.txt new file mode 100644 index 0000000..1be1c39 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1410061c.txt @@ -0,0 +1,29 @@ +line 7 column 4 - Warning: replacing unexpected b with </b> +line 7 column 30 - Warning: inserting implicit <font> +line 7 column 30 - Warning: missing </font> before <ul> +line 9 column 5 - Warning: inserting implicit <font> +line 7 column 30 - Warning: trimming empty <font> +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 3.2 +Tidy found 5 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1415137.html b/regression_testing/cases/legacy-expects/case-1415137.html new file mode 100644 index 0000000..73287fa --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1415137.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<frameset> + <noframes> + <body> + abc + </body> + + + diff --git a/regression_testing/cases/legacy-expects/case-1415137.txt b/regression_testing/cases/legacy-expects/case-1415137.txt new file mode 100644 index 0000000..eb63c6b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1415137.txt @@ -0,0 +1,19 @@ +line 1 column 1 - Warning: missing declaration +line 4 column 1 - Warning: plain text not inside 'noframes' element +line 2 column 1 - Warning: missing +line 1 column 1 - Warning: inserting missing 'title' element +line 1 column 1 - Warning: element removed from HTML5 +line 2 column 1 - Warning: element removed from HTML5 +Info: Document content looks like HTML5 +Tidy found 6 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1423252.html b/regression_testing/cases/legacy-expects/case-1423252.html new file mode 100644 index 0000000..d2e2363 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1423252.html @@ -0,0 +1,15 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<title>[1423252] missing text node, and font propagation</title> +</head> +<body> +<font color="red">a</font> +<dl> +<dt><font color="red">b</font></dt> +</dl> +<dl> +<dt><font color="red">c</font></dt> +</dl> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1423252.txt b/regression_testing/cases/legacy-expects/case-1423252.txt new file mode 100644 index 0000000..7c8e7c2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1423252.txt @@ -0,0 +1,39 @@ +line 7 column 1 - Warning: missing </font> before <dl> +line 8 column 5 - Warning: missing <dt> +line 8 column 6 - Warning: inserting implicit <font> +line 9 column 1 - Warning: <dt> isn't allowed in <body> elements +line 6 column 1 - Info: <body> previously mentioned +line 9 column 1 - Warning: inserting implicit <dl> +line 9 column 5 - Warning: inserting implicit <font> +line 10 column 1 - Warning: discarding unexpected </body> +line 11 column 1 - Warning: missing <dt> +line 11 column 1 - Warning: inserting implicit <font> +line 11 column 1 - Warning: discarding unexpected </html> +line 9 column 1 - Warning: missing </dl> +line 11 column 1 - Warning: trimming empty <font> +line 11 column 1 - Warning: trimming empty <dt> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 13 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1426419.html b/regression_testing/cases/legacy-expects/case-1426419.html new file mode 100644 index 0000000..bfd4206 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1426419.html @@ -0,0 +1,15 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>[1426419] mal-formed inline elements</title> +</head> +<body> + <p><strong>Bold <em>Bold and Italics</em></strong> <em>Italics + Only</em></p> + <p><tt>Mono <strong>Mono and Bold</strong></tt> <strong>Bold + Only</strong></p> + <p><em>Italics <strong>Italics and Bold</strong></em> + <strong>Bold Only</strong></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1426419.txt b/regression_testing/cases/legacy-expects/case-1426419.txt new file mode 100644 index 0000000..631d2ed --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1426419.txt @@ -0,0 +1,20 @@ +line 8 column 12 - Warning: replacing unexpected b with </b> +line 8 column 35 - Warning: inserting implicit <i> +line 9 column 13 - Warning: replacing unexpected tt with </tt> +line 9 column 34 - Warning: inserting implicit <b> +line 10 column 15 - Warning: replacing unexpected i with </i> +line 10 column 38 - Warning: inserting implicit <b> +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Strict +Tidy found 6 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1436578.html b/regression_testing/cases/legacy-expects/case-1436578.html new file mode 100644 index 0000000..012b0e7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1436578.html @@ -0,0 +1,12 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>1436578</title> + <style type="text/css"> + p.c1 {margin-top:5.0pt} + </style> +</head> +<body> + <p class='MsoSignature c1'></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1436578.txt b/regression_testing/cases/legacy-expects/case-1436578.txt new file mode 100644 index 0000000..7e8202f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1436578.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1445570.html b/regression_testing/cases/legacy-expects/case-1445570.html new file mode 100644 index 0000000..94444cb --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1445570.html @@ -0,0 +1,11 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<html> +<head> + <title>1445570</title> +</head> +<body> + <a href="Water%20lilies.jpg">This is a picture of 'Water + Lilly'</a> <img src="Water%20lillies.jpg" + alt=""> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1445570.txt b/regression_testing/cases/legacy-expects/case-1445570.txt new file mode 100644 index 0000000..037b8a4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1445570.txt @@ -0,0 +1,29 @@ +line 7 column 1 - Warning: <a> discarding whitespace in URI reference +line 8 column 1 - Warning: <img> discarding whitespace in URI reference +line 7 column 1 - Warning: <a> escaping malformed URI reference +line 7 column 1 - Warning: <a> illegal characters found in URI +line 8 column 1 - Warning: <img> escaping malformed URI reference +line 8 column 1 - Warning: <img> illegal characters found in URI +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 3.2 +Tidy found 6 warnings and 0 errors! + +URIs must be properly escaped, they must not contain unescaped +characters below U+0021 including the space character and not +above U+007E. Tidy escapes the URI for you as recommended by +HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents +use another algorithm to escape such URIs and some server-sided +scripts depend on that. If you want to depend on that, you must +escape the URI on your own. For more information please refer to +http://www.w3.org/International/O-URL-and-ident.html + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1452744.html b/regression_testing/cases/legacy-expects/case-1452744.html new file mode 100644 index 0000000..1f6cfd8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1452744.html @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" +"http://www.w3.org/TR/html4/strict.dtd"> +<html lang="en"> +<head> +<title>1452744</title> +</head> +<body> +<h1>Test</h1> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1452744.txt b/regression_testing/cases/legacy-expects/case-1452744.txt new file mode 100644 index 0000000..5541ce8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1452744.txt @@ -0,0 +1,19 @@ + +Accessibility Checks: + +line 1 column 1 - Access: [3.3.1.1]: use style sheets to control presentation. +line 4 column 1 - Access: [13.2.1.1]: Metadata missing. +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1503897.html b/regression_testing/cases/legacy-expects/case-1503897.html new file mode 100644 index 0000000..0e2042c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1503897.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title>1503897</title> +</head>\n"); +<pre> + PrintString("</pre>\n"); +<body> + <pre> + PrintString("</pre> + <tr> + <td></td> + </tr> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1503897.txt b/regression_testing/cases/legacy-expects/case-1503897.txt new file mode 100644 index 0000000..3617f8d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1503897.txt @@ -0,0 +1,32 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 15 - Warning: discarding unexpected </td> +line 6 column 1 - Warning: missing </pre> before <tr> +line 7 column 24 - Warning: plain text isn't allowed in <tr> elements +line 7 column 20 - Info: <tr> previously mentioned +line 8 column 1 - Warning: discarding unexpected </pre> +line 9 column 1 - Warning: <pre> isn't allowed in <tr> elements +line 7 column 20 - Info: <tr> previously mentioned +line 10 column 15 - Warning: discarding unexpected </td> +line 10 column 20 - Warning: missing <td> +line 10 column 24 - Warning: plain text isn't allowed in <tr> elements +line 10 column 20 - Info: <tr> previously mentioned +line 11 column 1 - Warning: discarding unexpected </pre> +line 10 column 20 - Warning: trimming empty <tr> +Info: Document content looks like HTML5 +Tidy found 11 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1586158.html b/regression_testing/cases/legacy-expects/case-1586158.html new file mode 100644 index 0000000..ee49699 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1586158.html @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" + "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>1586158</title> +</head> +<body onload="func();"> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1586158.txt b/regression_testing/cases/legacy-expects/case-1586158.txt new file mode 100644 index 0000000..4c1a546 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1586158.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.1//EN" +Info: Document content looks like XHTML 1.1 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1590220a.html b/regression_testing/cases/legacy-expects/case-1590220a.html new file mode 100644 index 0000000..aed8982 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1590220a.html @@ -0,0 +1,18 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" +"http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<title>1590220 - Example 1</title> +</head> +<body> +<pre> +Text of first PRE block +</pre> +<table border="2" summary="First table"></table> +<pre> +Text of second PRE block +</pre> +<table border="3" summary="Second table"></table> +<!-- Some Comment --> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1590220a.txt b/regression_testing/cases/legacy-expects/case-1590220a.txt new file mode 100644 index 0000000..d1e5e02 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1590220a.txt @@ -0,0 +1,20 @@ +line 10 column 1 - Warning: <pre> isn't allowed in <table> elements +line 9 column 1 - Info: <table> previously mentioned +line 13 column 1 - Warning: discarding unexpected </pre> +line 15 column 1 - Warning: <pre> isn't allowed in <table> elements +line 14 column 1 - Info: <table> previously mentioned +line 18 column 1 - Warning: discarding unexpected </pre> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1590220b.html b/regression_testing/cases/legacy-expects/case-1590220b.html new file mode 100644 index 0000000..2800202 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1590220b.html @@ -0,0 +1,18 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" +"http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<title>1590220 - Example 2</title> +</head> +<body> +<pre> +Text of first PRE block +</pre> +More errant table content - this should not be PRE'd +<table border="2" summary="table with errant content"> +<tr> +<td>This is a test cell</td> +</tr> +</table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1590220b.txt b/regression_testing/cases/legacy-expects/case-1590220b.txt new file mode 100644 index 0000000..ce9e998 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1590220b.txt @@ -0,0 +1,19 @@ +line 10 column 1 - Warning: <pre> isn't allowed in <table> elements +line 9 column 1 - Info: <table> previously mentioned +line 13 column 1 - Warning: plain text isn't allowed in <table> elements +line 9 column 1 - Info: <table> previously mentioned +line 14 column 1 - Warning: discarding unexpected </pre> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Tidy found 3 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1603538a.html b/regression_testing/cases/legacy-expects/case-1603538a.html new file mode 100644 index 0000000..1131133 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1603538a.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title></title> +</head> +<body> + <ul> + <li> + <a href="/oldcrap/013747.html">1111</a> + </li> + <hr /> + </ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1603538a.txt b/regression_testing/cases/legacy-expects/case-1603538a.txt new file mode 100644 index 0000000..c6b9c3e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1603538a.txt @@ -0,0 +1,21 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 2 column 1 - Warning: <body> isn't allowed in <head> elements +line 2 column 1 - Info: <head> previously mentioned +line 5 column 1 - Warning: missing </a> +line 7 column 1 - Warning: discarding unexpected </body> +line 8 column 1 - Warning: discarding unexpected </html> +line 3 column 1 - Warning: missing </ul> +line 2 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like XHTML5 +Tidy found 7 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1603538b.html b/regression_testing/cases/legacy-expects/case-1603538b.html new file mode 100644 index 0000000..4e1951d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1603538b.html @@ -0,0 +1,22 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> + <table> + <tr> + <td>Norway</td> + </tr> + <tr> + <td>Sweden</td> + </tr> + <tr> + <td>Switzerland</td> + </tr> + <tr> + <td>Turkey</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1603538b.txt b/regression_testing/cases/legacy-expects/case-1603538b.txt new file mode 100644 index 0000000..8c927f9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1603538b.txt @@ -0,0 +1,20 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 2 column 1 - Warning: inserting implicit <body> +line 4 column 14 - Warning: discarding unexpected </th> +line 7 column 14 - Warning: discarding unexpected </th> +line 10 column 19 - Warning: discarding unexpected </th> +line 13 column 14 - Warning: discarding unexpected </th> +line 2 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like HTML5 +Tidy found 7 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1610888a.html b/regression_testing/cases/legacy-expects/case-1610888a.html new file mode 100644 index 0000000..a8f3b6c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1610888a.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" + xml:lang="en" + lang="en"> +<head> + <meta http-equiv="Content-Type" + content="text/html; charset=iso-8859-1" /> + <title>1610888</title> + <style type="text/css"> + /*<![CDATA[*/ + body { + color: #000; + background-color: #fff; + } + .container { + background-color: #ff0; + border: solid 5px #f00; + font-size: 500%; + } + /*]]>*/ + </style> +</head> +<body> + <div class="container"><img src= + "http://www.w3.org/Icons/valid-xhtml10" + alt="" + height="31" + width="88" /></div> + <div class="container"><img src= + "http://www.w3.org/Icons/valid-xhtml10" + alt="" + height="31" + width="88" /></div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1610888a.txt b/regression_testing/cases/legacy-expects/case-1610888a.txt new file mode 100644 index 0000000..5608b73 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1610888a.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1610888b.html b/regression_testing/cases/legacy-expects/case-1610888b.html new file mode 100644 index 0000000..a8f3b6c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1610888b.html @@ -0,0 +1,36 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" + xml:lang="en" + lang="en"> +<head> + <meta http-equiv="Content-Type" + content="text/html; charset=iso-8859-1" /> + <title>1610888</title> + <style type="text/css"> + /*<![CDATA[*/ + body { + color: #000; + background-color: #fff; + } + .container { + background-color: #ff0; + border: solid 5px #f00; + font-size: 500%; + } + /*]]>*/ + </style> +</head> +<body> + <div class="container"><img src= + "http://www.w3.org/Icons/valid-xhtml10" + alt="" + height="31" + width="88" /></div> + <div class="container"><img src= + "http://www.w3.org/Icons/valid-xhtml10" + alt="" + height="31" + width="88" /></div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1610888b.txt b/regression_testing/cases/legacy-expects/case-1610888b.txt new file mode 100644 index 0000000..fbcf0d6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1610888b.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1632218.html b/regression_testing/cases/legacy-expects/case-1632218.html new file mode 100644 index 0000000..10171b6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1632218.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> + <title>1632218 - entity parsing</title> +</head> +<body> + <a href="file://%E2%82%AC:/foo">link</a> <a href= + "file://&amp;#x128:/foo">link</a> <a href= + "file://&amp;#X128:/foo">link</a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1632218.txt b/regression_testing/cases/legacy-expects/case-1632218.txt new file mode 100644 index 0000000..cd42014 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1632218.txt @@ -0,0 +1,34 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 17 - Warning: numeric character reference "&#128" doesn't end in ';' +line 7 column 17 - Warning: replacing invalid numeric character reference 128 +line 8 column 17 - Warning: unescaped & or unknown entity "&#x128" +line 9 column 17 - Warning: unescaped & or unknown entity "&#X128" +line 7 column 1 - Warning: <a> escaping malformed URI reference +Info: Document content looks like HTML5 +Tidy found 6 warnings and 0 errors! + +Character codes 128 to 159 (U+0080 to U+009F) are not allowed in HTML; +even if they were, they would likely be unprintable control characters. +Tidy assumed you wanted to refer to a character with the same byte value in the +specified encoding and replaced that reference with the Unicode +equivalent. + +URIs must be properly escaped, they must not contain unescaped +characters below U+0021 including the space character and not +above U+007E. Tidy escapes the URI for you as recommended by +HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents +use another algorithm to escape such URIs and some server-sided +scripts depend on that. If you want to depend on that, you must +escape the URI on your own. For more information please refer to +http://www.w3.org/International/O-URL-and-ident.html + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1632470.html b/regression_testing/cases/legacy-expects/case-1632470.html new file mode 100644 index 0000000..d3837de --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1632470.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> + <hr> + <title>1632470</title> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1632470.txt b/regression_testing/cases/legacy-expects/case-1632470.txt new file mode 100644 index 0000000..ba01c65 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1632470.txt @@ -0,0 +1,18 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 3 column 1 - Warning: inserting implicit <body> +line 5 column 1 - Warning: discarding unexpected </head> +line 6 column 1 - Warning: discarding unexpected <body> +line 2 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like HTML5 +Tidy found 5 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1638062.html b/regression_testing/cases/legacy-expects/case-1638062.html new file mode 100644 index 0000000..bed9e0d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1638062.html @@ -0,0 +1,11 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>16380628: nested emphasis</title> +</head> +<body> + <p>now <strong>how about this</strong></p> + <p>this is an <strong>error</strong> and this is + <strong>not</strong></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1638062.txt b/regression_testing/cases/legacy-expects/case-1638062.txt new file mode 100644 index 0000000..35e8763 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1638062.txt @@ -0,0 +1,17 @@ +line 7 column 12 - Warning: nested emphasis <b> +line 8 column 19 - Warning: <b> is probably intended as </b> +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1642186b.html b/regression_testing/cases/legacy-expects/case-1642186b.html new file mode 100644 index 0000000..9629051 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1642186b.html @@ -0,0 +1,30 @@ +<!DOCTYPE html> +<html> +<head> + <meta charset="utf-8"> + <title>Issue #65 - Parser too greedy over script blocks</title> + <script> + /* the <script */ + var m1 = "\"<script \""; + var m2 = '<script '; // <script + </script> + <script> + document.write('<style>body{font-family:"'+XCOOKIE.gui_font+'",Verdana, Arial;}<\/style>'); + </script> +</head> +<body> + <p>para 1</p> + <script type="text/javascript"> + //<![CDATA[ + var request_uri = "http://www.cubrid.org/"; + var waiting_message = "Requesting to the server, please wait"; + var ssl_actions = new Array(); + //]]> + </script> + <p>para 2</p> + <script> + // We don't like single quotes. + </script> + <p>para 3</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1642186b.txt b/regression_testing/cases/legacy-expects/case-1642186b.txt new file mode 100644 index 0000000..9fbbf4b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1642186b.txt @@ -0,0 +1,2 @@ +No warnings or errors were found. + diff --git a/regression_testing/cases/legacy-expects/case-1674502.html b/regression_testing/cases/legacy-expects/case-1674502.html new file mode 100644 index 0000000..9f9af14 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1674502.html @@ -0,0 +1,9 @@ +<?xml?> +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1674502.txt b/regression_testing/cases/legacy-expects/case-1674502.txt new file mode 100644 index 0000000..e2511f8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1674502.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 1 - Warning: discarding unexpected XML declaration +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1707836.html b/regression_testing/cases/legacy-expects/case-1707836.html new file mode 100644 index 0000000..1358236 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1707836.html @@ -0,0 +1,6 @@ +<!DOCTYPE html> +<html> +<head></head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1707836.txt b/regression_testing/cases/legacy-expects/case-1707836.txt new file mode 100644 index 0000000..51db6d9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1707836.txt @@ -0,0 +1,26 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 2 column 1 - Warning: inserting missing 'title' element +line 6 column 9 - Warning: trimming empty <p> +line 7 column 9 - Warning: trimming empty <li> +line 8 column 9 - Warning: trimming empty <p> +line 9 column 9 - Warning: trimming empty <li> +line 10 column 9 - Warning: trimming empty <p> +line 5 column 1 - Warning: trimming empty <ol> +Info: Document content looks like HTML5 +Tidy found 8 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1715153.html b/regression_testing/cases/legacy-expects/case-1715153.html new file mode 100644 index 0000000..7446415 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1715153.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> + <embed src="qqq" + quality="high" + mode="transparent" + bgcolor="#FFFFFF" + width="330" + height="220" + lign="middle" + allowscriptaccess="sameDomain" + type="application/x-shockwave-flash" + pluginspage="http://www.macromedia.com/go/getflashplayer"> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1715153.txt b/regression_testing/cases/legacy-expects/case-1715153.txt new file mode 100644 index 0000000..e0761e7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1715153.txt @@ -0,0 +1,24 @@ +line 1 column 1 - Warning: <embed> dropping value "never" for repeated attribute "allowscriptaccess" +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: inserting implicit <body> +line 1 column 1 - Warning: inserting missing 'title' element +line 1 column 1 - Warning: <embed> attribute "bgcolor" had invalid value "FFFFFF" and has been replaced +line 1 column 1 - Warning: <embed> proprietary attribute "quality" +line 1 column 1 - Warning: <embed> proprietary attribute "mode" +line 1 column 1 - Warning: <embed> proprietary attribute "bgcolor" +line 1 column 1 - Warning: <embed> proprietary attribute "lign" +line 1 column 1 - Warning: <embed> proprietary attribute "allowscriptaccess" +line 1 column 1 - Warning: <embed> proprietary attribute "pluginspage" +Info: Document content looks like HTML5 +Tidy found 11 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1720953.html b/regression_testing/cases/legacy-expects/case-1720953.html new file mode 100644 index 0000000..be25f60 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1720953.html @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>1720853</title> +</head> +<body> +<img alt="x" src="y" /> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1720953.txt b/regression_testing/cases/legacy-expects/case-1720953.txt new file mode 100644 index 0000000..8b5cea6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1720953.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1773932.html b/regression_testing/cases/legacy-expects/case-1773932.html new file mode 100644 index 0000000..61c7e7c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1773932.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> + <style type="text/css"> + span.c1 {color: black} + </style> +</head> +<body> + <ol> + <li><span class="c1">Foo</span></li> + <li><span class="c1">Bar</span></li> + <li><span class="c1">Xyzzy</span></li> + </ol> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1773932.txt b/regression_testing/cases/legacy-expects/case-1773932.txt new file mode 100644 index 0000000..008c5e0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1773932.txt @@ -0,0 +1,29 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 1 - Warning: missing </font> before <ol> +line 8 column 9 - Warning: inserting implicit <font> +line 9 column 10 - Warning: inserting implicit <font> +line 10 column 10 - Warning: inserting implicit <font> +line 7 column 1 - Warning: trimming empty <font> +Info: Document content looks like HTML5 +Tidy found 6 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1986717a.html b/regression_testing/cases/legacy-expects/case-1986717a.html new file mode 100644 index 0000000..2ffc3d6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1986717a.html @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<title>1986717</title> +</head> +<body> +<a id="a1"></a> <a id="a2"></a> <a id="a3"></a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1986717a.txt b/regression_testing/cases/legacy-expects/case-1986717a.txt new file mode 100644 index 0000000..ca6dad7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1986717a.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1986717b.html b/regression_testing/cases/legacy-expects/case-1986717b.html new file mode 100644 index 0000000..aa906b1 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1986717b.html @@ -0,0 +1,11 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> +<title>1986717</title> +</head> +<body> +<a id="a1" name="a1"></a> <a name="a2" id="a2"></a> <a id="a3" +name="a3"></a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1986717b.txt b/regression_testing/cases/legacy-expects/case-1986717b.txt new file mode 100644 index 0000000..ca6dad7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1986717b.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-1986717c.html b/regression_testing/cases/legacy-expects/case-1986717c.html new file mode 100644 index 0000000..a8d8c06 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1986717c.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<html> +<head> +<title>1986717</title> +</head> +<body> +<a name="a2"></a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-1986717c.txt b/regression_testing/cases/legacy-expects/case-1986717c.txt new file mode 100644 index 0000000..9de8c4e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-1986717c.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 3.2 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-2046048.txt b/regression_testing/cases/legacy-expects/case-2046048.txt new file mode 100644 index 0000000..b805d3e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2046048.txt @@ -0,0 +1,53 @@ +line 10 column 1 - Error: <asset> is not recognized! +line 10 column 1 - Warning: discarding unexpected <asset> +line 11 column 1 - Error: <thumbnailimage> is not recognized! +line 11 column 1 - Warning: discarding unexpected <thumbnailimage> +line 9 column 1 - Warning: missing </div> before <caption> +line 12 column 1 - Warning: inserting implicit <table> +line 13 column 1 - Error: <width> is not recognized! +line 13 column 1 - Warning: discarding unexpected <width> +line 13 column 8 - Warning: plain text isn't allowed in <table> elements +line 12 column 1 - Info: <table> previously mentioned +line 13 column 10 - Warning: discarding unexpected </width> +line 14 column 1 - Error: <height> is not recognized! +line 14 column 1 - Warning: discarding unexpected <height> +line 14 column 9 - Warning: plain text isn't allowed in <table> elements +line 12 column 1 - Info: <table> previously mentioned +line 14 column 11 - Warning: discarding unexpected </height> +line 15 column 1 - Warning: discarding unexpected </thumbnailimage> +line 16 column 1 - Warning: discarding unexpected </asset> +line 17 column 1 - Warning: discarding unexpected </div> +line 12 column 1 - Warning: missing </table> before </body> +line 9 column 1 - Warning: missing </div> + +Accessibility Checks: + +line 1 column 1 - Access: [3.3.1.1]: use style sheets to control presentation. +line 4 column 1 - Access: [13.2.1.1]: Metadata missing. +line 12 column 1 - Access: [5.5.2.1]: <table> missing <caption>. +line 12 column 1 - Warning: trimming empty <caption> +line 12 column 1 - Warning: trimming empty <table> +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Strict +Tidy found 17 warnings and 4 errors! + +This document has errors that must be fixed before +using HTML Tidy to generate a tidied up version. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL and http://www.html-tidy.org/accessibility/. +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-2085175.html b/regression_testing/cases/legacy-expects/case-2085175.html new file mode 100644 index 0000000..1645e48 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2085175.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>2085175</title> +</head> +<body> + <p>some text <a href="#_ftn2">[2]</a></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-2085175.txt b/regression_testing/cases/legacy-expects/case-2085175.txt new file mode 100644 index 0000000..95b0517 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2085175.txt @@ -0,0 +1,18 @@ +line 4 column 1 - Info: value for attribute "name" missing quote marks +line 8 column 1 - Info: value for attribute "class" missing quote marks +line 8 column 76 - Info: value for attribute "class" missing quote marks +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-2359929.html b/regression_testing/cases/legacy-expects/case-2359929.html new file mode 100644 index 0000000..dd9aa72 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2359929.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>A test</title> + <meta http-equiv="Content-Type" + content="text/html; charset=iso-8859-1"> +</head> +<body> + <a href="javascript:alert('\x48ello');">Say hello</a><br> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-2359929.txt b/regression_testing/cases/legacy-expects/case-2359929.txt new file mode 100644 index 0000000..a40cac1 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2359929.txt @@ -0,0 +1,17 @@ +line 8 column 7 - Warning: <a> URI reference contains backslash. Typo? +line 8 column 7 - Warning: <a> illegal characters found in URI +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-2705873a.html b/regression_testing/cases/legacy-expects/case-2705873a.html new file mode 100644 index 0000000..307f421 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2705873a.html @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<title>Virtual Library</title> +</head> +<body> +<p>Moved to <a href="http://example.org/">example.org</a>.</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-2705873a.txt b/regression_testing/cases/legacy-expects/case-2705873a.txt new file mode 100644 index 0000000..41c43f8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2705873a.txt @@ -0,0 +1,19 @@ + +Accessibility Checks: + +line 1 column 1 - Access: [3.3.1.1]: use style sheets to control presentation. +line 6 column 3 - Access: [13.2.1.1]: Metadata missing. +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-2705873b.html b/regression_testing/cases/legacy-expects/case-2705873b.html new file mode 100644 index 0000000..de5953b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2705873b.html @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> +<head> +<meta http-equiv="Content-type" content= +"text/html; charset=utf-8" /> +<title>Virtual Library</title> +</head> +<body> +<p>Moved to <a href="http://example.org/">example.org</a>.</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-2705873b.txt b/regression_testing/cases/legacy-expects/case-2705873b.txt new file mode 100644 index 0000000..31c3b78 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2705873b.txt @@ -0,0 +1,18 @@ + +Accessibility Checks: + +line 1 column 1 - Access: [3.3.1.1]: use style sheets to control presentation. +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-2709860.html b/regression_testing/cases/legacy-expects/case-2709860.html new file mode 100644 index 0000000..52fbf54 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2709860.html @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> +<title></title> +</head> +<body> +<table summary=""> +<tr> +<th>Topic</th> +<th rowspan="2">version</th> +<th abbr="Type">Plugins/standalone&nbsp;?</th> +<th>Foobar</th> +</tr> +</table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-2709860.txt b/regression_testing/cases/legacy-expects/case-2709860.txt new file mode 100644 index 0000000..f9a0752 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-2709860.txt @@ -0,0 +1,35 @@ +line 10 column 1 - Info: value for attribute "rowspan" missing quote marks + +Accessibility Checks: + +line 7 column 1 - Access: [5.2.1.2]: data <table> may require markup (row headers). + + - First, search left from the cell's position to find row header cells. + - Then search upwards to find column header cells. + - The search in a given direction stops when the edge of the table is + reached or when a data cell is found after a header cell. + - Row headers are inserted into the list in the order they appear in + the table. + - For left-to-right tables, headers are inserted from left to right. + - Column headers are inserted after row headers, in + the order they appear in the table, from top to bottom. + - If a header cell has the headers attribute set, then the headers + referenced by this attribute are inserted into the list and the + search stops for the current direction. + TD cells that set the axis attribute are also treated as header cells. + +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-426885.html b/regression_testing/cases/legacy-expects/case-426885.html new file mode 100644 index 0000000..3bd315d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-426885.html @@ -0,0 +1,29 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #426885 ] Definition list w/Center crashes</title> + <style type="text/css"> + div.c1 {text-align: center} + </style> +</head> +<body> + <div class="c1"> + <h1>Heading 1</h1> + </div> + <dt><img src="redball.gif"><strong>Term 1</strong></dt> + <dt><img src="redball.gif"><strong>Term 2</strong></dt> + <dd> + <hr> + </dd> + <div class="c1"> + <h1>Heading 2</h1> + </div> + <ul> + <dt><img src="redball.gif"><strong>Term 3</strong></dt> + <dt><img src="redball.gif"><strong>Term 4</strong></dt> + <dd> + <hr> + </dd> + </ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-426885.txt b/regression_testing/cases/legacy-expects/case-426885.txt new file mode 100644 index 0000000..8e5bc25 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-426885.txt @@ -0,0 +1,36 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 8 column 41 - Warning: <hr> isn't allowed in <dt> elements +line 8 column 1 - Info: <dt> previously mentioned +line 12 column 41 - Warning: <hr> isn't allowed in <dt> elements +line 12 column 1 - Info: <dt> previously mentioned +line 7 column 5 - Warning: <img> lacks "alt" attribute +line 8 column 5 - Warning: <img> lacks "alt" attribute +line 11 column 5 - Warning: <img> lacks "alt" attribute +line 12 column 5 - Warning: <img> lacks "alt" attribute +line 8 column 41 - Warning: trimming empty <dt> +line 12 column 41 - Warning: trimming empty <dt> +Info: Document content looks like HTML5 +Tidy found 9 warnings and 0 errors! + +The alt attribute should be used to give a short description +of an image; longer descriptions should be given with the +longdesc attribute which takes a URL linked to the description. +These measures are needed for people using non-graphical browsers. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL. +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427633.html b/regression_testing/cases/legacy-expects/case-427633.html new file mode 100644 index 0000000..2bd6407 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427633.html @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>[#427663] Line endings not supported correctly</title> +</head> +<body> + <p>This is a carriage return This is a Unix line-ending This is a + DOS line ending</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427633.txt b/regression_testing/cases/legacy-expects/case-427633.txt new file mode 100644 index 0000000..7e8202f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427633.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427662.html b/regression_testing/cases/legacy-expects/case-427662.html new file mode 100644 index 0000000..66989ae --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427662.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title>[#427662] BLOCK/INLINE before TABLE parsed wrong</title> + <style type="text/css"> + a.c1 {font-size: 172%} + </style> +</head> +<body> + <a class="c1" + href="111"><strong>Big and bold</strong> Big</a> + <table border="1" + summary=""></table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427662.txt b/regression_testing/cases/legacy-expects/case-427662.txt new file mode 100644 index 0000000..852ac4d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427662.txt @@ -0,0 +1,22 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 1 - Warning: <a> isn't allowed in <table> elements +line 6 column 1 - Info: <table> previously mentioned +line 6 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427664-1.html b/regression_testing/cases/legacy-expects/case-427664-1.html new file mode 100644 index 0000000..41d8d96 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427664-1.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>[#427664] Missing attr values cause NULL segfault</title> +</head> +<body width="align=&quot;&quot;"> + <!-- attribute name is 2 bytes hex c3 87 -->text +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427664-1.txt b/regression_testing/cases/legacy-expects/case-427664-1.txt new file mode 100644 index 0000000..21db70d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427664-1.txt @@ -0,0 +1,18 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 5 column 1 - Warning: <body> attribute name "Ç1/2" (value="xx") is invalid +line 5 column 1 - Info: value for attribute "width" missing quote marks +line 5 column 1 - Warning: <body> attribute "width" has invalid value "align=""" +line 5 column 1 - Warning: <body> proprietary attribute "width" +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427664.html b/regression_testing/cases/legacy-expects/case-427664.html new file mode 100644 index 0000000..41d8d96 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427664.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>[#427664] Missing attr values cause NULL segfault</title> +</head> +<body width="align=&quot;&quot;"> + <!-- attribute name is 2 bytes hex c3 87 -->text +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427664.txt b/regression_testing/cases/legacy-expects/case-427664.txt new file mode 100644 index 0000000..0d31642 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427664.txt @@ -0,0 +1,18 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 5 column 1 - Warning: <body> attribute name "Ã1/2" (value="xx") is invalid +line 5 column 1 - Info: value for attribute "width" missing quote marks +line 5 column 1 - Warning: <body> attribute "width" has invalid value "align=""" +line 5 column 1 - Warning: <body> proprietary attribute "width" +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427671.html b/regression_testing/cases/legacy-expects/case-427671.html new file mode 100644 index 0000000..f9e1275 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427671.html @@ -0,0 +1,17 @@ +<!DOCTYPE html> +<html> +<head> + <title>[#427671] &lt;LI&gt; w/FRAME/FRAMESET/OPTGROUP/OPTION + loop</title> +</head> +<body> + <ul> + <li>first item</li> + <li>frame item</li> + <li>frameset item</li> + <li>optgroup item</li> + <li>option item</li> + <li>last item</li> + </ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427671.txt b/regression_testing/cases/legacy-expects/case-427671.txt new file mode 100644 index 0000000..161b4ff --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427671.txt @@ -0,0 +1,22 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 8 column 5 - Warning: discarding unexpected <frame> +line 8 column 22 - Warning: discarding unexpected </frame> +line 9 column 5 - Warning: discarding unexpected <frameset> +line 9 column 28 - Warning: discarding unexpected </frameset> +line 10 column 5 - Warning: discarding unexpected <optgroup> +line 10 column 28 - Warning: discarding unexpected </optgroup> +line 11 column 5 - Warning: discarding unexpected <option> +line 11 column 24 - Warning: discarding unexpected </option> +Info: Document content looks like HTML5 +Tidy found 9 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427672.html b/regression_testing/cases/legacy-expects/case-427672.html new file mode 100644 index 0000000..fdab195 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427672.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>[#427672] Non-std attrs w/multibyte names segfault</title> +</head> +<body> + <!-- attribute name is 2 bytes hex c3 87 -->text +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427672.txt b/regression_testing/cases/legacy-expects/case-427672.txt new file mode 100644 index 0000000..7e18eb6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427672.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 5 column 1 - Warning: <body> attribute name "Ã1/2" (value="xx") is invalid +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427675.html b/regression_testing/cases/legacy-expects/case-427675.html new file mode 100644 index 0000000..77202b2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427675.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<frameset> + <frame name="name" + src="one.html"> + <noframes> + <body> + This text belongs in a noframes element. + </body> + + + diff --git a/regression_testing/cases/legacy-expects/case-427675.txt b/regression_testing/cases/legacy-expects/case-427675.txt new file mode 100644 index 0000000..bd4751f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427675.txt @@ -0,0 +1,19 @@ +line 1 column 1 - Warning: missing declaration +line 8 column 1 - Warning: discarding unexpected +line 10 column 1 - Warning: missing +line 5 column 1 - Warning: element removed from HTML5 +line 6 column 3 - Warning: element removed from HTML5 +line 10 column 1 - Warning: element removed from HTML5 +Info: Document content looks like HTML5 +Tidy found 6 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427676.txt b/regression_testing/cases/legacy-expects/case-427676.txt new file mode 100644 index 0000000..d391525 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427676.txt @@ -0,0 +1,24 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 14 - Warning: <spanstyle> unexpected or duplicate quote mark +line 6 column 14 - Warning: <spanstyle> attribute with missing trailing quote mark +line 6 column 14 - Error: <spanstyle> is not recognized! +line 6 column 14 - Warning: discarding unexpected <spanstyle> +line 6 column 44 - Warning: discarding unexpected </span> +line 6 column 52 - Info: value for attribute "href" missing quote marks +line 6 column 52 - Warning: <a> illegal characters found in URI +Info: Document content looks like HTML5 +Tidy found 6 warnings and 1 error! + +This document has errors that must be fixed before +using HTML Tidy to generate a tidied up version. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427677.html b/regression_testing/cases/legacy-expects/case-427677.html new file mode 100644 index 0000000..9d76a45 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427677.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #427677 ] TrimInitialSpace() can trim too much</title> + <style type="text/css"> + span.c1 {color:#FF0000} + </style> +</head> +<body> + <p>This is a <span class="c1">Red</span> <a href= + "foo">link</a></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427677.txt b/regression_testing/cases/legacy-expects/case-427677.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427677.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427810.html b/regression_testing/cases/legacy-expects/case-427810.html new file mode 100644 index 0000000..8e174ab --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427810.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #427810 ] Proprietary elements not reported as + err</title> +</head> +<body> + <!-- use "-clean" or not to test both cases --> + <p>Test inline element</p><blink>Proprietary inline element + (blink)</blink> <wbr>Proprietary inline element (wbr) - note + starts on new line, doesn't need end tag + Proprietary&nbsp;inline&nbsp;element&nbsp;(nobr) + <p>Test inline element</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427810.txt b/regression_testing/cases/legacy-expects/case-427810.txt new file mode 100644 index 0000000..c7a12a0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427810.txt @@ -0,0 +1,19 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 8 column 1 - Warning: <blink> is not approved by W3C +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +You are recommended to use CSS to control line wrapping. +Use "white-space: nowrap" to inhibit wrapping in place +of inserting <NOBR>...</NOBR> into the markup. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427811.html b/regression_testing/cases/legacy-expects/case-427811.html new file mode 100644 index 0000000..25ea894 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427811.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title>[#427811] FRAME inside NOFRAME infinite loop</title> +</head><!-- +<frameset rows="25%,*"> + <frame src="title.html" name="p1" scrolling=no> +</frameset> +--> +<body> + <h1>Need a Frame Capable Browser!</h1> + <frame src="body.html" + name="p2"> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427811.txt b/regression_testing/cases/legacy-expects/case-427811.txt new file mode 100644 index 0000000..2375fdf --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427811.txt @@ -0,0 +1,19 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 10 column 1 - Warning: discarding unexpected <noframes> +line 11 column 3 - Warning: discarding unexpected <body> +line 10 column 1 - Warning: content occurs after end of body +line 15 column 1 - Warning: discarding unexpected +line 13 column 3 - Warning: element removed from HTML5 +Info: Document content looks like HTML5 +Tidy found 6 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427813.html b/regression_testing/cases/legacy-expects/case-427813.html new file mode 100644 index 0000000..96e63a7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427813.html @@ -0,0 +1,9 @@ + + + + [#427813] Missing = from attr value segfaults + + + text + + diff --git a/regression_testing/cases/legacy-expects/case-427813.txt b/regression_testing/cases/legacy-expects/case-427813.txt new file mode 100644 index 0000000..a4a4d80 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427813.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing declaration +line 5 column 1 - Warning: attribute with missing trailing quote mark +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427816.html b/regression_testing/cases/legacy-expects/case-427816.html new file mode 100644 index 0000000..fe036f5 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427816.html @@ -0,0 +1,9 @@ + + + + [ #427816 ] Mismatched quotes for attr segfaults + + + blah + + diff --git a/regression_testing/cases/legacy-expects/case-427816.txt b/regression_testing/cases/legacy-expects/case-427816.txt new file mode 100644 index 0000000..86376c0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427816.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing declaration +line 6 column 1 - Info: value for attribute "href" missing quote marks +line 6 column 1 - Warning: illegal characters found in URI +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427818.html b/regression_testing/cases/legacy-expects/case-427818.html new file mode 100644 index 0000000..95c4740 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427818.html @@ -0,0 +1,9 @@ + + + + [ #427818 ] Missing quotes cause segfaults + + + link + + diff --git a/regression_testing/cases/legacy-expects/case-427818.txt b/regression_testing/cases/legacy-expects/case-427818.txt new file mode 100644 index 0000000..9e46a30 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427818.txt @@ -0,0 +1,27 @@ +line 7 column 1 - Warning: discarding newline in URI reference +line 7 column 1 - Warning: attribute with missing trailing quote mark +line 7 column 1 - Warning: escaping malformed URI reference +line 7 column 1 - Warning: illegal characters found in URI +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 3.2 +Tidy found 4 warnings and 0 errors! + +URIs must be properly escaped, they must not contain unescaped +characters below U+0021 including the space character and not +above U+007E. Tidy escapes the URI for you as recommended by +HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents +use another algorithm to escape such URIs and some server-sided +scripts depend on that. If you want to depend on that, you must +escape the URI on your own. For more information please refer to +http://www.w3.org/International/O-URL-and-ident.html + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427819.html b/regression_testing/cases/legacy-expects/case-427819.html new file mode 100644 index 0000000..fc83b5b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427819.html @@ -0,0 +1,19 @@ + + + + [ #427819 ] OPTION w/illegal FONT eats whitespace + + +
    + + + + diff --git a/regression_testing/cases/legacy-expects/case-427819.txt b/regression_testing/cases/legacy-expects/case-427819.txt new file mode 100644 index 0000000..c1aea37 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427819.txt @@ -0,0 +1,18 @@ +line 1 column 1 - Warning: missing declaration +line 8 column 25 - Warning: discarding unexpected +line 8 column 46 - Warning: discarding unexpected +line 12 column 25 - Warning: discarding unexpected +line 12 column 45 - Warning: discarding unexpected +Info: Document content looks like HTML5 +Tidy found 5 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427820.html b/regression_testing/cases/legacy-expects/case-427820.html new file mode 100644 index 0000000..54ccee4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427820.html @@ -0,0 +1,14 @@ + + + + Test Input For Bug #427820 + + +
    + + + +

    + + diff --git a/regression_testing/cases/legacy-expects/case-427820.txt b/regression_testing/cases/legacy-expects/case-427820.txt new file mode 100644 index 0000000..317032a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427820.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing declaration +line 6 column 10 - Warning: The summary attribute on the element is obsolete in HTML5 +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427821.html b/regression_testing/cases/legacy-expects/case-427821.html new file mode 100644 index 0000000..625c41f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427821.html @@ -0,0 +1,14 @@ + + + +[ #427821 ] XHTML TRANSITIONAL doctype set wrongly + + + +<body> +This is a test - use "-asxml" on the command line. +</body> + + + diff --git a/regression_testing/cases/legacy-expects/case-427821.txt b/regression_testing/cases/legacy-expects/case-427821.txt new file mode 100644 index 0000000..fd2f70f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427821.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Frameset//EN" +Info: Document content looks like XHTML 1.0 Frameset +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427822.html b/regression_testing/cases/legacy-expects/case-427822.html new file mode 100644 index 0000000..d509f2c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427822.html @@ -0,0 +1,11 @@ + + + + [ #427822 ] PopInLine() doesn't check stack + + +
    +
    abc
    +
    + + diff --git a/regression_testing/cases/legacy-expects/case-427822.txt b/regression_testing/cases/legacy-expects/case-427822.txt new file mode 100644 index 0000000..1905fe9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427822.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing declaration +line 7 column 5 - Warning: missing before +line 7 column 16 - Warning: discarding unexpected +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427823.html b/regression_testing/cases/legacy-expects/case-427823.html new file mode 100644 index 0000000..0b604ff --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427823.html @@ -0,0 +1,20 @@ + + + + [ #427823 ] Multiple <BODY>'s in <NOFRAMES> + allowed + + + + + <body> + Text in body 1. + <div> + Text in illegal body 2. + </div> + <p>Text in inferred illegal body 3.</p> + <p>Text in inferred illegal body 4.</p> + </body> + + + diff --git a/regression_testing/cases/legacy-expects/case-427823.txt b/regression_testing/cases/legacy-expects/case-427823.txt new file mode 100644 index 0000000..e569ce8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427823.txt @@ -0,0 +1,23 @@ +line 1 column 1 - Warning: missing declaration +line 11 column 1 - Warning: content occurs after end of body +line 11 column 1 - Warning: replacing with
    +line 7 column 1 - Warning: content occurs after end of body +line 18 column 1 - Warning: plain text not inside 'noframes' element +line 7 column 1 - Warning: content occurs after end of body +line 7 column 1 - Warning: missing +line 5 column 1 - Warning: element removed from HTML5 +line 6 column 1 - Warning: element removed from HTML5 +line 7 column 1 - Warning: element removed from HTML5 +Info: Document content looks like HTML5 +Tidy found 10 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427825.html b/regression_testing/cases/legacy-expects/case-427825.html new file mode 100644 index 0000000..0044356 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427825.html @@ -0,0 +1,10 @@ +<!-- new-inline-tags: lm:xcode --> +<!DOCTYPE html> +<html> +<head> +<title>Test user defined tags - bug #427825</title> +</head> +<body> +<strong><lm:xcode>Test-1</lm:xcode>Test-3</strong> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427825.txt b/regression_testing/cases/legacy-expects/case-427825.txt new file mode 100644 index 0000000..f96a259 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427825.txt @@ -0,0 +1,15 @@ +line 2 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 11 - Warning: <lm:xcode> is not approved by W3C +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427826.html b/regression_testing/cases/legacy-expects/case-427826.html new file mode 100644 index 0000000..ee3b7e0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427826.html @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>[#427826] Script source needs escaping/CDATA + section</title> + <script type="application/ecmascript"> + <![CDATA[ + <!-- + function isLessThan() + { + var a = 2, b = 3; + if (a < b) alert("a less than b"); + return ( a < b ); + } + --> + ]]> + </script> + <script type="text/javascript" + language='JavaScript'> + //<![CDATA[ + <!-- + alert("..."); + //--> + //]]> + </script> + <script type="text/javascript" + language='JavaScript'> + //<![CDATA[ + function loop_de_loop() + { + for ( ix=0; ix < 5; ++ix ) + { + alert( "Bob's yer uncle " + ix ); + } + } + //]]> + </script> + <script type="text/javascript" + language='JavaScript'> + //<![CDATA[ + function round_again() + { + for ( ix=0; ix < 5; ++ix ) + { + alert( "Shivver me timbers " + ix ); + } + } + //]]> + </script> +</head> +<body onload="isLessThan()"> + <p>If converted to XML/XHTML, the &lt; in the javascript source + above causes problems for XML tools.</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427826.txt b/regression_testing/cases/legacy-expects/case-427826.txt new file mode 100644 index 0000000..fa3190b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427826.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427827.html b/regression_testing/cases/legacy-expects/case-427827.html new file mode 100644 index 0000000..795cb9f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427827.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #427827 ] Nested anchor elements allowed</title> +</head> +<body> + <a href="1">link-1</a> <a href="2">link-2</a> plain +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427827.txt b/regression_testing/cases/legacy-expects/case-427827.txt new file mode 100644 index 0000000..c787e29 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427827.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 1 - Warning: missing </a> before <a> +line 7 column 6 - Warning: discarding unexpected </a> +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427830.html b/regression_testing/cases/legacy-expects/case-427830.html new file mode 100644 index 0000000..cfc8e63 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427830.html @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>Test Input For Bug #427830</title> +</head> +<body> + <p>Tidy uses an incorrect XHTML 1.0 Namespace, even if the + correct namespace is given.</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427830.txt b/regression_testing/cases/legacy-expects/case-427830.txt new file mode 100644 index 0000000..f0352e4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427830.txt @@ -0,0 +1,14 @@ +line 2 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like XHTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427833.html b/regression_testing/cases/legacy-expects/case-427833.html new file mode 100644 index 0000000..296795a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427833.html @@ -0,0 +1,12 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" +"http://www.w3.org/TR/html4/strict.dtd"> +<html lang="en"> +<head> + <title>Escape sequences</title> +</head> +<body> + <p>#include &lt;stdio.h&gt;</p> + <p>#include &lt;stdio.h&gt;</p> + <p>#include &lt;stdio.h&gt;</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427833.txt b/regression_testing/cases/legacy-expects/case-427833.txt new file mode 100644 index 0000000..c52c89f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427833.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427834.html b/regression_testing/cases/legacy-expects/case-427834.html new file mode 100644 index 0000000..6775edc --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427834.html @@ -0,0 +1,9 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" +"http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> + <title>[ #427834 ] Warning given for newline in DOCTYPE</title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427834.txt b/regression_testing/cases/legacy-expects/case-427834.txt new file mode 100644 index 0000000..c52c89f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427834.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427835.html b/regression_testing/cases/legacy-expects/case-427835.html new file mode 100644 index 0000000..559b6d5 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427835.html @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta name="generator" content="HTML Tidy, see www.w3.org" /> +<title>Test input file for bug #427835</title> +</head> +<body> +<p>Test input file for bug #427835</p> +<p>Use with or without the -asxhtml option.</p> +<p>-clean has no effect</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427835.txt b/regression_testing/cases/legacy-expects/case-427835.txt new file mode 100644 index 0000000..f0352e4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427835.txt @@ -0,0 +1,14 @@ +line 2 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like XHTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427836.html b/regression_testing/cases/legacy-expects/case-427836.html new file mode 100644 index 0000000..ae1dfac --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427836.html @@ -0,0 +1,16 @@ +<!-- [ #427836 ] OBJECT should be wrapped in BODY --> +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> + <object width="288" + height="122" + data="1.xml" + type="text/xml"> + <img src= + "file://q:/css/source/intro/images/xml-example.%20gif"> + </object> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427836.txt b/regression_testing/cases/legacy-expects/case-427836.txt new file mode 100644 index 0000000..1fc8c73 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427836.txt @@ -0,0 +1,38 @@ +line 2 column 1 - Info: value for attribute "width" missing quote marks +line 2 column 1 - Info: value for attribute "height" missing quote marks +line 2 column 1 - Warning: missing <!DOCTYPE> declaration +line 2 column 1 - Warning: inserting implicit <body> +line 3 column 17 - Warning: <img> discarding newline in URI reference +line 2 column 1 - Warning: inserting missing 'title' element +line 3 column 17 - Warning: <img> escaping malformed URI reference +line 3 column 17 - Warning: <img> illegal characters found in URI +line 3 column 17 - Warning: <img> lacks "alt" attribute +Info: Document content looks like HTML5 +Tidy found 7 warnings and 0 errors! + +URIs must be properly escaped, they must not contain unescaped +characters below U+0021 including the space character and not +above U+007E. Tidy escapes the URI for you as recommended by +HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents +use another algorithm to escape such URIs and some server-sided +scripts depend on that. If you want to depend on that, you must +escape the URI on your own. For more information please refer to +http://www.w3.org/International/O-URL-and-ident.html + +The alt attribute should be used to give a short description +of an image; longer descriptions should be given with the +longdesc attribute which takes a URL linked to the description. +These measures are needed for people using non-graphical browsers. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL. +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427837.txt b/regression_testing/cases/legacy-expects/case-427837.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427837.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427837.xml b/regression_testing/cases/legacy-expects/case-427837.xml new file mode 100644 index 0000000..c6c0cad --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427837.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<names> +<name>Bjrn Hhrmann</name> +<name>Marc-Andr Lemburg</name> +</names> diff --git a/regression_testing/cases/legacy-expects/case-427838.html b/regression_testing/cases/legacy-expects/case-427838.html new file mode 100644 index 0000000..64b4af9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427838.html @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <meta name="generator" + content="Microsoft FrontPage 4.0"> + <title>[ #427838 ] Name Anchor thrown away</title> +</head> +<body> + A fragment of html created by Frontpage..... + <h3><a name="clipboard" + id="clipboard">Clipboard</a></h3> + <p>lots more stuff deleted.... <!-- Dave's additions --> + <a href="bar">some text</a> <a href="bar">some text</a> <a href= + "foo"></a></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427838.txt b/regression_testing/cases/legacy-expects/case-427838.txt new file mode 100644 index 0000000..ef9841b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427838.txt @@ -0,0 +1,27 @@ +line 10 column 4 - Warning: missing </a> before <h3> +line 11 column 22 - Warning: inserting implicit <a> +line 11 column 36 - Warning: discarding unexpected </a> +line 16 column 1 - Warning: <a> is probably intended as </a> +line 17 column 1 - Warning: missing </a> before <a> +line 17 column 24 - Warning: missing </a> before </body> +line 10 column 1 - Warning: trimming empty <p> +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 7 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427839.html b/regression_testing/cases/legacy-expects/case-427839.html new file mode 100644 index 0000000..09059c9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427839.html @@ -0,0 +1,8 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Test Input For Bug #427839</title> +</head> +<body> +This is a test. Use "-asxhtml --doctype omit" on the command line. +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427839.txt b/regression_testing/cases/legacy-expects/case-427839.txt new file mode 100644 index 0000000..fa3190b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427839.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427840.html b/regression_testing/cases/legacy-expects/case-427840.html new file mode 100644 index 0000000..5794731 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427840.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #427840 ] Span causes infinite loop</title> +</head> +<body> + <p><span class="&lt;ArticleBody&quot;">Inside a span.</span></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427840.txt b/regression_testing/cases/legacy-expects/case-427840.txt new file mode 100644 index 0000000..8054e94 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427840.txt @@ -0,0 +1,25 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 4 column 1 - Warning: <span> missing '>' for end of tag +line 4 column 1 - Info: value for attribute "class" missing quote marks +line 4 column 1 - Warning: missing </span> before <p> +line 5 column 4 - Warning: inserting implicit <span> +line 6 column 1 - Warning: discarding unexpected </span> +line 4 column 1 - Warning: trimming empty <span> +Info: Document content looks like HTML5 +Tidy found 6 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427841.html b/regression_testing/cases/legacy-expects/case-427841.html new file mode 100644 index 0000000..fbba4f7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427841.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> +<html> +<head> + <title>Test input for bug #427841</title> +</head> +<body> + <p>Tidy crashes on badly formed HTML involving nested lists.</p> + <ul> + <li> + <a href="rememberwhenb.html">Next</a> + </li> + <li> + <a href="daysofourlives.html">Back</a> + </li> + <li> + <a href="newstuff.html">New Stuff</a> + </li> + </ul> + <ul> + <li>Merge adjacent lists</li> + </ul> + <ul> + <ul> + <li> + <a href="one.html">One</a> + </li> + <li> + <a href="two.html">Two</a> + </li> + <li> + <a href="three.html">Three</a> + </li> + </ul> + </ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427841.txt b/regression_testing/cases/legacy-expects/case-427841.txt new file mode 100644 index 0000000..d81172e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427841.txt @@ -0,0 +1,21 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 12 column 1 - Info: missing optional end tag </li> +line 13 column 1 - Info: missing optional end tag </li> +line 25 column 1 - Info: missing optional end tag </li> +line 26 column 1 - Info: missing optional end tag </li> +line 30 column 1 - Warning: discarding unexpected </body> +line 31 column 1 - Warning: discarding unexpected </html> +line 22 column 1 - Warning: missing </ul> +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427845.html b/regression_testing/cases/legacy-expects/case-427845.html new file mode 100644 index 0000000..7e76a01 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427845.html @@ -0,0 +1,12 @@ +<!DOCTYPE +html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>[ #427845 ] Doctypes are output on multiple +lines</title> +</head> +<body> +Use "--wrap 60" on the command line +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427845.txt b/regression_testing/cases/legacy-expects/case-427845.txt new file mode 100644 index 0000000..8b5cea6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427845.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-427846.html b/regression_testing/cases/legacy-expects/case-427846.html new file mode 100644 index 0000000..d2c9e8f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427846.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title>Test Input For Bug #427846</title> + <style type="text/css"> + span.c2 {font-size: 120%} + blockquote.c1 {font-size: 120%} + </style> +</head> +<body> + <blockquote class="c1"> + text-one + </blockquote><span class="c2">text-two</span> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-427846.txt b/regression_testing/cases/legacy-expects/case-427846.txt new file mode 100644 index 0000000..dfec492 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-427846.txt @@ -0,0 +1,28 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 1 - Warning: missing </font> before <blockquote> +line 7 column 13 - Warning: inserting implicit <font> +line 10 column 1 - Warning: inserting implicit <font> +line 6 column 1 - Warning: trimming empty <font> +Info: Document content looks like HTML5 +Tidy found 5 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-431716.html b/regression_testing/cases/legacy-expects/case-431716.html new file mode 100644 index 0000000..5ba8512 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431716.html @@ -0,0 +1,258 @@ +<!-- Input file for bug #431716 - use "-slides" option --> +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<meta name="generator" content="HTML Tidy, see www.w3.org"> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<meta name="GENERATOR" content= +"Mozilla/4.76 [en] (WinNT; U) [Netscape]"> +<title>civRights2</title> +</head> +<body> +<h2>Civil Rights #2</h2> +<h2>Overview</h2> +<ul> +<li>Who are you protected from?</li> +<li>How are you supposed to do anything about it?</li> +<li>Why do protections grow and shrink?</li> +<li>Rights of women</li> +<li>Rights of disabled people</li> +<li>Native Americans</li> +</ul> +<h2>Who are you protected from?</h2> +<ul> +<li>"State government" under 14th Amendment</li> +<li style="list-style: none"> +<ul> +<li>Sex/race, not age!</li> +<li>People who act "on behalf" of state government</li> +</ul> +</li> +</ul> +<h2>Who are you protected from?</h2> +<ul> +<li>"State government" under 14th Amendment</li> +<li style="list-style: none"> +<ul> +<li>Sex/race, not age!</li> +<li>People who act "on behalf" of state government</li> +</ul> +</li> +<li>Federal Government Contractors</li> +</ul> +<h2>Who are you protected from?</h2> +<ul> +<li>"State government" under 14th Amendment</li> +<li style="list-style: none"> +<ul> +<li>Sex/race, not age!</li> +<li>People who act "on behalf" of state government</li> +</ul> +</li> +<li>Federal Government Contractors</li> +<li>Anybody Congress can regulate under the commerce clause</li> +<li style="list-style: none"> +<ul> +<li>Civil Rights Acts (1866, 1964, 1991)</li> +</ul> +</li> +</ul> +<h2>How are rules enforced?</h2> +<ol> +<li>Criminal prosecution</li> +</ol> +<h2>How are rules enforced?</h2> +<ol> +<li>Criminal prosecution</li> +<li>EEOC complaint</li> +<li style="list-style: none"> +<ol> +<li>Lawsuit for back pay and reinstatement</li> +<li>Affirmative Action order.</li> +</ol> +</li> +</ol> +<h2>How are rules enforced?</h2> +<ol> +<li>Criminal prosecution</li> +<li>EEOC complaint</li> +<li style="list-style: none"> +<ol> +<li>Lawsuit for back pay and reinstatement</li> +<li>Affirmative Action order.</li> +</ol> +</li> +<li>Private lawsuit--financial compensation</li> +</ol> +<h2>What about Affirmative Action?</h2> +<ul> +<li>what is it?</li> +</ul> +<h2>What about Affirmative Action?</h2> +<ul> +<li>what is it?</li> +<li>reverse discrimination</li> +</ul> +<h2>What about Affirmative Action?</h2> +<ul> +<li>what is it?</li> +<li>reverse discrimination</li> +<li>diversity policy and the University</li> +<li style="list-style: none"> +<ul> +<li>Bakke's lawsuit &amp; followups</li> +</ul> +</li> +<li>diversity in government contracting: quotas?</li> +</ul> +<h2>Why do protections grow and shrink?</h2> +<ul> +<li>Courts have limited government intervention in society</li> +<li>Is protest necessary?</li> +<li style="list-style: none"> +<ul> +<li>&nbsp;Need to "get attention"</li> +<li>Maybe if you don't have a good lawyer...</li> +</ul> +</li> +<li>Terrorism/violence usually "counter productive"</li> +</ul> +<h2>Racial Minorities</h2> +<ul> +<li>14th shrank in response to Court decisions and politics</li> +<li>Some protections won through legal action</li> +<li>Biggest protections result from nonviolent action</li> +</ul> +<h2>Rights of Women</h2> +<ul> +<li>Long era of "protectionism"</li> +</ul> +<h2>Rights of Women</h2> +<ul> +<li>Long era of "protectionism"</li> +<li>excluded from many professions</li> +</ul> +<h2>Rights of Women</h2> +<ul> +<li>Long era of "protectionism"</li> +<li>excluded from many professions</li> +<li>couldn't vote</li> +<li>own property</li> +</ul> +<h2>Equal Rights Amendments</h2> +<ul> +<li>Remember the 14th Amendment?</li> +</ul> +<h2>Equal Rights Amendments</h2> +<ul> +<li>Remember the 14th Amendment?</li> +<li>ERA proposed by Congress 1972. Failed.</li> +</ul> +<h2>Equal Rights Amendments</h2> +<ul> +<li>Remember the 14th Amendment?</li> +<li>ERA proposed by Congress 1972. Failed.</li> +<li>1970s: Revival of 14th for women.</li> +<li style="list-style: none"> +<ul> +<li>Sexual classifications no longer allowed by State without +persuasive justification</li> +</ul> +</li> +</ul> +<h2>Women in the Labor Force</h2> +<ul> +<li>Why do women earn less?</li> +<li style="list-style: none"> +<ul> +<li>Job type</li> +<li>Skill</li> +<li>Discrimination</li> +</ul> +</li> +</ul> +<h2>Women in the Labor Force</h2> +<ul> +<li>Why do women earn less?</li> +<li style="list-style: none"> +<ul> +<li>Job type</li> +<li>Skill</li> +<li>Discrimination</li> +</ul> +</li> +<li>1964 CRA included "sex" but...</li> +<li>EEOC&nbsp; initially refused to pursue sex discrimination +cases</li> +</ul> +<h2>Women in the Labor Force</h2> +<ul> +<li>Why do women earn less?</li> +<li style="list-style: none"> +<ul> +<li>Job type</li> +<li>Skill</li> +<li>Discrimination</li> +</ul> +</li> +<li>1964 CRA included "sex" but...</li> +<li>EEOC&nbsp; initially refused to pursue sex discrimination +cases</li> +<li>1991 CRA: restated 1866 CRA right to sue for $ damages for +discrimination or sexual harassment.</li> +</ul> +<h2>Higher Education</h2> +<ul> +<li>Higher Educ. Act, Title IX (1972)&nbsp; Prohibit sex +discrimination in fed. funded programs</li> +<li>Rising emphasis on women's athletics</li> +<li>Backlash in some states (California, Texas)</li> +</ul> +<h2>Rights of disabled people</h2> +<ul> +<li>1973 Federal law prohibited discrimination by federal +contractors</li> +<li style="list-style: none"> +<ul> +<li>must not discriminate against an otherwise qualified person +solely by reason of handicap</li> +</ul> +</li> +</ul> +<h2>Rights of disabled people</h2> +<ul> +<li>1973 Federal law prohibited discrimination by federal +contractors</li> +<li style="list-style: none"> +<ul> +<li>must not discriminate against an otherwise qualified person +solely by reason of handicap</li> +</ul> +</li> +<li>1990 Americans with Disabilities Act</li> +<li style="list-style: none"> +<ul> +<li>extends protection to businesses and public accommodations +(commerce clause)</li> +<li>requires reasonable accommodation</li> +</ul> +</li> +</ul> +<h2>Politics and Native American Rights</h2> +<ul> +<li>Battle on 2 fronts</li> +<li style="list-style: none"> +<ul> +<li>Tribal autonomy &amp; relations with US/BIA</li> +<li>Opportunities within "mainstream" US</li> +</ul> +</li> +<li>State Government and the 14th amendment</li> +<li style="list-style: none"> +<ul> +<li>Complicated peyote story</li> +</ul> +</li> +</ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-431716.txt b/regression_testing/cases/legacy-expects/case-431716.txt new file mode 100644 index 0000000..5491236 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431716.txt @@ -0,0 +1,16 @@ +Config: unknown option: split +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-431721.html b/regression_testing/cases/legacy-expects/case-431721.html new file mode 100644 index 0000000..09d8132 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431721.html @@ -0,0 +1,41 @@ +<!DOCTYPE html> +<html> +<head> + <title>Joe-Bob Briggs LLP</title> +</head> +<body> + <div class="Section1"> + <h1>Joe-Bob Briggs LLP</h1> + <p>&nbsp;</p> + <p>Bryan Joe-Bob LLP is a leading national and international + corporate, litigation and private client law firm.&nbsp; We + represent a wide variety of business, institutional and + individual clients for whom our lawyers handle a wide range of + matters.&nbsp; As a result, our lawyers are well prepared to + meet the needs of clients whether large or small, public or + private, for-profit or not-for-profit.</p> + <p>&nbsp;</p> + <p>Joe-Bob Briggs has more offices than you can shake a stick + at.&nbsp; These locations give Joe-Bob the geographic reach to + assist his clients where their needs are most pressing.</p> + <ul> + <li> Estate Planning</li> + <li> Closely-Held Business Practice</li> + <li> Estate, Gift, Income and Other Tax Advice</li> + </ul> + <p>&nbsp;</p> + <p>Joe-Bob joined the Firm in 1995 after 15 years with the + Kansas City firm of Fish, Gill, Smoker & Butts, where he was a + Shareholder/Director.&nbsp; John is a past Chair of the Estate + Planning, Probate and Trust Committee of the Kansas City + Metropolitan Bar Association and co-authored the Drinking + Procedures Manual for County Practitioners.&nbsp; Currently, JB + is a member of the Missouri Bar Probate and Trust Committee, + the Estate Planning Society and the Mid-America Planned Giving + Council.&nbsp; A fellow of the American College of Trust and + Estate Counsel, JB lectures frequently on Estate Planning + topics for both legal and lay organizations.&nbsp; </p> + <p>&nbsp;</p> + </div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-431721.txt b/regression_testing/cases/legacy-expects/case-431721.txt new file mode 100644 index 0000000..5a5d07d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431721.txt @@ -0,0 +1,44 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 1 - Info: value for attribute "http-equiv" missing quote marks +line 7 column 1 - Info: value for attribute "name" missing quote marks +line 7 column 1 - Info: value for attribute "content" missing quote marks +line 8 column 1 - Info: value for attribute "name" missing quote marks +line 9 column 1 - Info: value for attribute "name" missing quote marks +line 10 column 1 - Info: value for attribute "rel" missing quote marks +line 154 column 1 - Info: value for attribute "lang" missing quote marks +line 156 column 1 - Info: value for attribute "class" missing quote marks +line 160 column 1 - Info: value for attribute "class" missing quote marks +line 162 column 1 - Info: value for attribute "class" missing quote marks +line 170 column 1 - Info: value for attribute "class" missing quote marks +line 172 column 1 - Info: value for attribute "class" missing quote marks +line 177 column 1 - Info: value for attribute "class" missing quote marks +line 181 column 1 - Info: value for attribute "class" missing quote marks +line 185 column 1 - Info: value for attribute "class" missing quote marks +line 189 column 1 - Info: value for attribute "class" missing quote marks +line 191 column 1 - Info: value for attribute "class" missing quote marks +line 204 column 1 - Info: value for attribute "class" missing quote marks +line 1 column 1 - Warning: <html> proprietary attribute "xmlns:o" +line 1 column 1 - Warning: <html> proprietary attribute "xmlns:w" +line 160 column 121 - Warning: <o:p> is not approved by W3C +line 168 column 73 - Warning: <o:p> is not approved by W3C +line 170 column 119 - Warning: <o:p> is not approved by W3C +line 175 column 45 - Warning: <o:p> is not approved by W3C +line 177 column 1 - Warning: replacing unexpected <p> with <li> +line 181 column 1 - Warning: replacing unexpected <p> with <li> +line 185 column 1 - Warning: replacing unexpected <p> with <li> +line 189 column 119 - Warning: <o:p> is not approved by W3C +line 202 column 56 - Warning: <o:p> is not approved by W3C +line 204 column 119 - Warning: <o:p> is not approved by W3C +Info: Document content looks like HTML5 +Tidy found 13 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-431731.html b/regression_testing/cases/legacy-expects/case-431731.html new file mode 100644 index 0000000..acffe79 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431731.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #431731 ] Inline emphasis inconsistent + propagation</title> + <style type="text/css"> + span.c1 {font-size: 70%} + </style> +</head> +<body> + <span class= + "c1"><noscript><span>inside</span></noscript>OUTSIDE</span><br> + <span class= + "c1"><noscript>X<span>inside</span></noscript>OUTSIDE</span> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-431731.txt b/regression_testing/cases/legacy-expects/case-431731.txt new file mode 100644 index 0000000..48ea495 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431731.txt @@ -0,0 +1,19 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-431736.html b/regression_testing/cases/legacy-expects/case-431736.html new file mode 100644 index 0000000..f65d7a8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431736.html @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>[#431736] Doctype decl added before XML decl</title> +</head> +<body> +<p>Run tidy w/ -asxhtml or -asxml options...</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-431736.txt b/regression_testing/cases/legacy-expects/case-431736.txt new file mode 100644 index 0000000..f0352e4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431736.txt @@ -0,0 +1,14 @@ +line 2 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like XHTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-431739.html b/regression_testing/cases/legacy-expects/case-431739.html new file mode 100644 index 0000000..a764e99 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431739.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title>[#431739] Spaces carried into empty block tags</title> + <style type="text/css"> + span.c2 {font-size: 80%} + span.c1 {font-family: Arial; font-size: 80%} + </style> +</head> +<body> + <span class="c1">This is a test</span> + <hr> + <span class="c2">Example</span> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-431739.txt b/regression_testing/cases/legacy-expects/case-431739.txt new file mode 100644 index 0000000..ec73406 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431739.txt @@ -0,0 +1,21 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 1 - Warning: missing </font> before <hr> +line 8 column 1 - Warning: inserting implicit <font> +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-431874.html b/regression_testing/cases/legacy-expects/case-431874.html new file mode 100644 index 0000000..5682a4e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431874.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> + <title>Test for bug #431874</title> +</head> +<body> + <a name="top" + id="top"></a><a href="http://www.genuki.org.uk">Test for + bug #431874</a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-431874.txt b/regression_testing/cases/legacy-expects/case-431874.txt new file mode 100644 index 0000000..fb6563e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431874.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 4 column 1 - Warning: missing </a> before <a> +line 4 column 74 - Warning: discarding unexpected </a> +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-431889.html b/regression_testing/cases/legacy-expects/case-431889.html new file mode 100644 index 0000000..6575c88 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431889.html @@ -0,0 +1,34 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<!-- + bug-2000-12-27-b.html + +Problem: + The "alt-text:" and "doctype: <fpi>" options do not work when specified + in a config file with a quoted string parameter. + +Expected behavior: + The strings specified as parameters to these options should be processed + correctly. Instead, they are ignored. + +Verification: + tidy -config config.ini bug-2000-12-27-b.html + + With a configuration file "config.ini" containing either of these lines: + + doctype: "-//ACME//DTD HTML 3.14159//EN" + alt-text: "Alternate" + +Correction: + config.c (ParseString) + lexer.c (FixDocType) +--> +<html> +<head> +<title>Bug-2000-12-27-B [ #431889 ] Config file options w/"param" +don't work</title> +</head> +<body> +<p><img src="a" alt="Alternate">This image has no ALT +attribute.</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-431889.txt b/regression_testing/cases/legacy-expects/case-431889.txt new file mode 100644 index 0000000..f9380f7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431889.txt @@ -0,0 +1,15 @@ +line 35 column 4 - Warning: <img> inserting "alt" attribute using value "Alternate" +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-431898.html b/regression_testing/cases/legacy-expects/case-431898.html new file mode 100644 index 0000000..83359c1 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431898.html @@ -0,0 +1,15 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" +[ + + <!ENTITY myURI "http://www.websitedev.de/xhtml/xhtml1/"> + +]> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>[ #431898 ] Tidy messes up X(HT)ML documents</title> +</head> +<body> + <p><a href="&amp;myURI;">Test</a></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-431898.txt b/regression_testing/cases/legacy-expects/case-431898.txt new file mode 100644 index 0000000..2226f8f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431898.txt @@ -0,0 +1,15 @@ +line 11 column 13 - Warning: unescaped & or unknown entity "&myURI" +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Strict +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-431964.html b/regression_testing/cases/legacy-expects/case-431964.html new file mode 100644 index 0000000..9746a1a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431964.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>[ #431964 ] table height="" not flagged as error</title> +</head> +<body> + <table height="" + summary="this is a test"> + <tr> + <td>A cell.</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-431964.txt b/regression_testing/cases/legacy-expects/case-431964.txt new file mode 100644 index 0000000..9c10735 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-431964.txt @@ -0,0 +1,16 @@ +line 7 column 1 - Warning: <table> attribute "height" lacks value +line 7 column 1 - Warning: <table> proprietary attribute "height" +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML Proprietary +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-432677.html b/regression_testing/cases/legacy-expects/case-432677.html new file mode 100644 index 0000000..a1c3497 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-432677.html @@ -0,0 +1,18 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<title>[ #432677 ] Null value changed to "value" for -asxml</title> +</head> +<body> +<form action="http://www.w3c.org/" method="get"> +<select name="option"> +<option value="">option 1</option> +<!-- BAD VALUE --> +<option value="opt2">option 2</option> +</select> +<input name="input" type="text" value="" /> +<!-- BAD VALUE --> + +<input name="submit" type="submit" value="submit" /></form> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-432677.txt b/regression_testing/cases/legacy-expects/case-432677.txt new file mode 100644 index 0000000..5e8722b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-432677.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like XHTML 1.0 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433012.html b/regression_testing/cases/legacy-expects/case-433012.html new file mode 100644 index 0000000..73406d7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433012.html @@ -0,0 +1,554 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #433012 ] Illegal ampersands/character entities</title> +</head> +<body> + <p> + <!--=====================================================================--> + + <!-- These are the standard HTML character entities in the order they --> + + <!-- are listed in section 24 of the HTML 4.01 spec. --> + + <!--=====================================================================--> + + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <!-- Start of first of two groups of character entities < 256. --> + + <!-- Assume a missing semicolon. --> + <!-- ?id=ID&nbsp;=XX --> + <a href="?id=ID%C2%A0=XX">id=ID&nbsp;=XX</a><br> + <!-- ?id=ID&iexcl;=XX --> + <a href="?id=ID%C2%A1=XX">id=ID¡=XX</a><br> + <!-- ?id=ID&cent;=XX --> + <a href="?id=ID%C2%A2=XX">id=ID¢=XX</a><br> + <!-- ?id=ID&pound;=XX --> + <a href="?id=ID%C2%A3=XX">id=ID£=XX</a><br> + <!-- ?id=ID&curren;=XX --> + <a href="?id=ID%C2%A4=XX">id=ID¤=XX</a><br> + <!-- ?id=ID&yen;=XX --> + <a href="?id=ID%C2%A5=XX">id=ID¥=XX</a><br> + <!-- ?id=ID&brvbar;=XX --> + <a href="?id=ID%C2%A6=XX">id=ID¦=XX</a><br> + <!-- ?id=ID&sect;=XX --> + <a href="?id=ID%C2%A7=XX">id=ID§=XX</a><br> + <!-- ?id=ID&uml;=XX --> + <a href="?id=ID%C2%A8=XX">id=ID¨=XX</a><br> + <!-- ?id=ID&copy;=XX --> + <a href="?id=ID%C2%A9=XX">id=ID©=XX</a><br> + <!-- ?id=ID&ordf;=XX --> + <a href="?id=ID%C2%AA=XX">id=IDª=XX</a><br> + <!-- ?id=ID&laquo;=XX --> + <a href="?id=ID%C2%AB=XX">id=ID«=XX</a><br> + <!-- ?id=ID&not;=XX --> + <a href="?id=ID%C2%AC=XX">id=ID¬=XX</a><br> + <!-- ?id=ID&shy;=XX --> + <a href="?id=ID%C2%AD=XX">id=ID­=XX</a><br> + <!-- ?id=ID&reg;=XX --> + <a href="?id=ID%C2%AE=XX">id=ID®=XX</a><br> + <!-- ?id=ID&macr;=XX --> + <a href="?id=ID%C2%AF=XX">id=ID¯=XX</a><br> + <!-- ?id=ID&deg;=XX --> + <a href="?id=ID%C2%B0=XX">id=ID°=XX</a><br> + <!-- ?id=ID&plusmn;=XX --> + <a href="?id=ID%C2%B1=XX">id=ID±=XX</a><br> + <!-- ?id=ID&sup;2=XX --> + <a href="?id=ID%C2%B2=XX">id=ID²=XX</a><br> + <!-- ?id=ID&sup;3=XX --> + <a href="?id=ID%C2%B3=XX">id=ID³=XX</a><br> + <!-- ?id=ID&acute;=XX --> + <a href="?id=ID%C2%B4=XX">id=ID´=XX</a><br> + <!-- ?id=ID&micro;=XX --> + <a href="?id=ID%C2%B5=XX">id=IDµ=XX</a><br> + <!-- ?id=ID&para;=XX --> + <a href="?id=ID%C2%B6=XX">id=ID¶=XX</a><br> + <!-- ?id=ID&middot;=XX --> + <a href="?id=ID%C2%B7=XX">id=ID·=XX</a><br> + <!-- ?id=ID&cedil;=XX --> + <a href="?id=ID%C2%B8=XX">id=ID¸=XX</a><br> + <!-- ?id=ID&sup;1=XX --> + <a href="?id=ID%C2%B9=XX">id=ID¹=XX</a><br> + <!-- ?id=ID&ordm;=XX --> + <a href="?id=ID%C2%BA=XX">id=IDº=XX</a><br> + <!-- ?id=ID&raquo;=XX --> + <a href="?id=ID%C2%BB=XX">id=ID»=XX</a><br> + <!-- ?id=ID&frac;14=XX --> + <a href="?id=ID%C2%BC=XX">id=ID¼=XX</a><br> + <!-- ?id=ID&frac;12=XX --> + <a href="?id=ID%C2%BD=XX">id=ID½=XX</a><br> + <!-- ?id=ID&frac;34=XX --> + <a href="?id=ID%C2%BE=XX">id=ID¾=XX</a><br> + <!-- ?id=ID&iquest;=XX --> + <a href="?id=ID%C2%BF=XX">id=ID¿=XX</a><br> + <!-- ?id=ID&Agrave;=XX --> + <a href="?id=ID%C3%80=XX">id=IDÀ=XX</a><br> + <!-- ?id=ID&Aacute;=XX --> + <a href="?id=ID%C3%81=XX">id=IDÁ=XX</a><br> + <!-- ?id=ID&Acirc;=XX --> + <a href="?id=ID%C3%82=XX">id=IDÂ=XX</a><br> + <!-- ?id=ID&Atilde;=XX --> + <a href="?id=ID%C3%83=XX">id=IDÃ=XX</a><br> + <!-- ?id=ID&Auml;=XX --> + <a href="?id=ID%C3%84=XX">id=IDÄ=XX</a><br> + <!-- ?id=ID&Aring;=XX --> + <a href="?id=ID%C3%85=XX">id=IDÅ=XX</a><br> + <!-- ?id=ID&AElig;=XX --> + <a href="?id=ID%C3%86=XX">id=IDÆ=XX</a><br> + <!-- ?id=ID&Ccedil;=XX --> + <a href="?id=ID%C3%87=XX">id=IDÇ=XX</a><br> + <!-- ?id=ID&Egrave;=XX --> + <a href="?id=ID%C3%88=XX">id=IDÈ=XX</a><br> + <!-- ?id=ID&Eacute;=XX --> + <a href="?id=ID%C3%89=XX">id=IDÉ=XX</a><br> + <!-- ?id=ID&Ecirc;=XX --> + <a href="?id=ID%C3%8A=XX">id=IDÊ=XX</a><br> + <!-- ?id=ID&Euml;=XX --> + <a href="?id=ID%C3%8B=XX">id=IDË=XX</a><br> + <!-- ?id=ID&Igrave;=XX --> + <a href="?id=ID%C3%8C=XX">id=IDÌ=XX</a><br> + <!-- ?id=ID&Iacute;=XX --> + <a href="?id=ID%C3%8D=XX">id=IDÍ=XX</a><br> + <!-- ?id=ID&Icirc;=XX --> + <a href="?id=ID%C3%8E=XX">id=IDÎ=XX</a><br> + <!-- ?id=ID&Iuml;=XX --> + <a href="?id=ID%C3%8F=XX">id=IDÏ=XX</a><br> + <!-- ?id=ID&ETH;=XX --> + <a href="?id=ID%C3%90=XX">id=IDÐ=XX</a><br> + <!-- ?id=ID&Ntilde;=XX --> + <a href="?id=ID%C3%91=XX">id=IDÑ=XX</a><br> + <!-- ?id=ID&Ograve;=XX --> + <a href="?id=ID%C3%92=XX">id=IDÒ=XX</a><br> + <!-- ?id=ID&Oacute;=XX --> + <a href="?id=ID%C3%93=XX">id=IDÓ=XX</a><br> + <!-- ?id=ID&Ocirc;=XX --> + <a href="?id=ID%C3%94=XX">id=IDÔ=XX</a><br> + <!-- ?id=ID&Otilde;=XX --> + <a href="?id=ID%C3%95=XX">id=IDÕ=XX</a><br> + <!-- ?id=ID&Ouml;=XX --> + <a href="?id=ID%C3%96=XX">id=IDÖ=XX</a><br> + <!-- ?id=ID&times;=XX --> + <a href="?id=ID%C3%97=XX">id=ID×=XX</a><br> + <!-- ?id=ID&Oslash;=XX --> + <a href="?id=ID%C3%98=XX">id=IDØ=XX</a><br> + <!-- ?id=ID&Ugrave;=XX --> + <a href="?id=ID%C3%99=XX">id=IDÙ=XX</a><br> + <!-- ?id=ID&Uacute;=XX --> + <a href="?id=ID%C3%9A=XX">id=IDÚ=XX</a><br> + <!-- ?id=ID&Ucirc;=XX --> + <a href="?id=ID%C3%9B=XX">id=IDÛ=XX</a><br> + <!-- ?id=ID&Uuml;=XX --> + <a href="?id=ID%C3%9C=XX">id=IDÜ=XX</a><br> + <!-- ?id=ID&Yacute;=XX --> + <a href="?id=ID%C3%9D=XX">id=IDÝ=XX</a><br> + <!-- ?id=ID&THORN;=XX --> + <a href="?id=ID%C3%9E=XX">id=IDÞ=XX</a><br> + <!-- ?id=ID&szlig;=XX --> + <a href="?id=ID%C3%9F=XX">id=IDß=XX</a><br> + <!-- ?id=ID&agrave;=XX --> + <a href="?id=ID%C3%A0=XX">id=IDà=XX</a><br> + <!-- ?id=ID&aacute;=XX --> + <a href="?id=ID%C3%A1=XX">id=IDá=XX</a><br> + <!-- ?id=ID&acirc;=XX --> + <a href="?id=ID%C3%A2=XX">id=IDâ=XX</a><br> + <!-- ?id=ID&atilde;=XX --> + <a href="?id=ID%C3%A3=XX">id=IDã=XX</a><br> + <!-- ?id=ID&auml;=XX --> + <a href="?id=ID%C3%A4=XX">id=IDä=XX</a><br> + <!-- ?id=ID&aring;=XX --> + <a href="?id=ID%C3%A5=XX">id=IDå=XX</a><br> + <!-- ?id=ID&aelig;=XX --> + <a href="?id=ID%C3%A6=XX">id=IDæ=XX</a><br> + <!-- ?id=ID&ccedil;=XX --> + <a href="?id=ID%C3%A7=XX">id=IDç=XX</a><br> + <!-- ?id=ID&egrave;=XX --> + <a href="?id=ID%C3%A8=XX">id=IDè=XX</a><br> + <!-- ?id=ID&eacute;=XX --> + <a href="?id=ID%C3%A9=XX">id=IDé=XX</a><br> + <!-- ?id=ID&ecirc;=XX --> + <a href="?id=ID%C3%AA=XX">id=IDê=XX</a><br> + <!-- ?id=ID&euml;=XX --> + <a href="?id=ID%C3%AB=XX">id=IDë=XX</a><br> + <!-- ?id=ID&igrave;=XX --> + <a href="?id=ID%C3%AC=XX">id=IDì=XX</a><br> + <!-- ?id=ID&iacute;=XX --> + <a href="?id=ID%C3%AD=XX">id=IDí=XX</a><br> + <!-- ?id=ID&icirc;=XX --> + <a href="?id=ID%C3%AE=XX">id=IDî=XX</a><br> + <!-- ?id=ID&iuml;=XX --> + <a href="?id=ID%C3%AF=XX">id=IDï=XX</a><br> + <!-- ?id=ID&eth;=XX --> + <a href="?id=ID%C3%B0=XX">id=IDð=XX</a><br> + <!-- ?id=ID&ntilde;=XX --> + <a href="?id=ID%C3%B1=XX">id=IDñ=XX</a><br> + <!-- ?id=ID&ograve;=XX --> + <a href="?id=ID%C3%B2=XX">id=IDò=XX</a><br> + <!-- ?id=ID&oacute;=XX --> + <a href="?id=ID%C3%B3=XX">id=IDó=XX</a><br> + <!-- ?id=ID&ocirc;=XX --> + <a href="?id=ID%C3%B4=XX">id=IDô=XX</a><br> + <!-- ?id=ID&otilde;=XX --> + <a href="?id=ID%C3%B5=XX">id=IDõ=XX</a><br> + <!-- ?id=ID&ouml;=XX --> + <a href="?id=ID%C3%B6=XX">id=IDö=XX</a><br> + <!-- ?id=ID&divide;=XX --> + <a href="?id=ID%C3%B7=XX">id=ID÷=XX</a><br> + <!-- ?id=ID&oslash;=XX --> + <a href="?id=ID%C3%B8=XX">id=IDø=XX</a><br> + <!-- ?id=ID&ugrave;=XX --> + <a href="?id=ID%C3%B9=XX">id=IDù=XX</a><br> + <!-- ?id=ID&uacute;=XX --> + <a href="?id=ID%C3%BA=XX">id=IDú=XX</a><br> + <!-- ?id=ID&ucirc;=XX --> + <a href="?id=ID%C3%BB=XX">id=IDû=XX</a><br> + <!-- ?id=ID&uuml;=XX --> + <a href="?id=ID%C3%BC=XX">id=IDü=XX</a><br> + <!-- ?id=ID&yacute;=XX --> + <a href="?id=ID%C3%BD=XX">id=IDý=XX</a><br> + <!-- ?id=ID&thorn;=XX --> + <a href="?id=ID%C3%BE=XX">id=IDþ=XX</a><br> + <!-- ?id=ID&yuml;=XX --> + <a href="?id=ID%C3%BF=XX">id=IDÿ=XX</a><br> + <!-- End of first of two groups of character entities < 256. --> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- ?id=ID&amp;fnof=XX --> + <a href="?id=ID&amp;fnof=XX">id=ID&amp;fnof=XX</a><br> + <!-- ?id=ID&amp;Alpha=XX --> + <a href="?id=ID&amp;Alpha=XX">id=ID&amp;Alpha=XX</a><br> + <!-- ?id=ID&amp;Beta=XX --> + <a href="?id=ID&amp;Beta=XX">id=ID&amp;Beta=XX</a><br> + <!-- ?id=ID&amp;Gamma=XX --> + <a href="?id=ID&amp;Gamma=XX">id=ID&amp;Gamma=XX</a><br> + <!-- ?id=ID&amp;Delta=XX --> + <a href="?id=ID&amp;Delta=XX">id=ID&amp;Delta=XX</a><br> + <!-- ?id=ID&amp;Epsilon=XX --> + <a href="?id=ID&amp;Epsilon=XX">id=ID&amp;Epsilon=XX</a><br> + <!-- ?id=ID&amp;Zeta=XX --> + <a href="?id=ID&amp;Zeta=XX">id=ID&amp;Zeta=XX</a><br> + <!-- ?id=ID&amp;Eta=XX --> + <a href="?id=ID&amp;Eta=XX">id=ID&amp;Eta=XX</a><br> + <!-- ?id=ID&amp;Theta=XX --> + <a href="?id=ID&amp;Theta=XX">id=ID&amp;Theta=XX</a><br> + <!-- ?id=ID&amp;Iota=XX --> + <a href="?id=ID&amp;Iota=XX">id=ID&amp;Iota=XX</a><br> + <!-- ?id=ID&amp;Kappa=XX --> + <a href="?id=ID&amp;Kappa=XX">id=ID&amp;Kappa=XX</a><br> + <!-- ?id=ID&amp;Lambda=XX --> + <a href="?id=ID&amp;Lambda=XX">id=ID&amp;Lambda=XX</a><br> + <!-- ?id=ID&amp;Mu=XX --> + <a href="?id=ID&amp;Mu=XX">id=ID&amp;Mu=XX</a><br> + <!-- ?id=ID&amp;Nu=XX --> + <a href="?id=ID&amp;Nu=XX">id=ID&amp;Nu=XX</a><br> + <!-- ?id=ID&amp;Xi=XX --> + <a href="?id=ID&amp;Xi=XX">id=ID&amp;Xi=XX</a><br> + <!-- ?id=ID&amp;Omicron=XX --> + <a href="?id=ID&amp;Omicron=XX">id=ID&amp;Omicron=XX</a><br> + <!-- ?id=ID&amp;Pi=XX --> + <a href="?id=ID&amp;Pi=XX">id=ID&amp;Pi=XX</a><br> + <!-- ?id=ID&amp;Rho=XX --> + <a href="?id=ID&amp;Rho=XX">id=ID&amp;Rho=XX</a><br> + <!-- ?id=ID&amp;Sigma=XX --> + <a href="?id=ID&amp;Sigma=XX">id=ID&amp;Sigma=XX</a><br> + <!-- ?id=ID&amp;Tau=XX --> + <a href="?id=ID&amp;Tau=XX">id=ID&amp;Tau=XX</a><br> + <!-- ?id=ID&amp;Upsilon=XX --> + <a href="?id=ID&amp;Upsilon=XX">id=ID&amp;Upsilon=XX</a><br> + <!-- ?id=ID&amp;Phi=XX --> + <a href="?id=ID&amp;Phi=XX">id=ID&amp;Phi=XX</a><br> + <!-- ?id=ID&amp;Chi=XX --> + <a href="?id=ID&amp;Chi=XX">id=ID&amp;Chi=XX</a><br> + <!-- ?id=ID&amp;Psi=XX --> + <a href="?id=ID&amp;Psi=XX">id=ID&amp;Psi=XX</a><br> + <!-- ?id=ID&amp;Omega=XX --> + <a href="?id=ID&amp;Omega=XX">id=ID&amp;Omega=XX</a><br> + <!-- ?id=ID&amp;alpha=XX --> + <a href="?id=ID&amp;alpha=XX">id=ID&amp;alpha=XX</a><br> + <!-- ?id=ID&amp;beta=XX --> + <a href="?id=ID&amp;beta=XX">id=ID&amp;beta=XX</a><br> + <!-- ?id=ID&amp;gamma=XX --> + <a href="?id=ID&amp;gamma=XX">id=ID&amp;gamma=XX</a><br> + <!-- ?id=ID&amp;delta=XX --> + <a href="?id=ID&amp;delta=XX">id=ID&amp;delta=XX</a><br> + <!-- ?id=ID&amp;epsilon=XX --> + <a href="?id=ID&amp;epsilon=XX">id=ID&amp;epsilon=XX</a><br> + <!-- ?id=ID&amp;zeta=XX --> + <a href="?id=ID&amp;zeta=XX">id=ID&amp;zeta=XX</a><br> + <!-- ?id=ID&amp;eta=XX --> + <a href="?id=ID&amp;eta=XX">id=ID&amp;eta=XX</a><br> + <!-- ?id=ID&amp;theta=XX --> + <a href="?id=ID&amp;theta=XX">id=ID&amp;theta=XX</a><br> + <!-- ?id=ID&amp;iota=XX --> + <a href="?id=ID&amp;iota=XX">id=ID&amp;iota=XX</a><br> + <!-- ?id=ID&amp;kappa=XX --> + <a href="?id=ID&amp;kappa=XX">id=ID&amp;kappa=XX</a><br> + <!-- ?id=ID&amp;lambda=XX --> + <a href="?id=ID&amp;lambda=XX">id=ID&amp;lambda=XX</a><br> + <!-- ?id=ID&amp;mu=XX --> + <a href="?id=ID&amp;mu=XX">id=ID&amp;mu=XX</a><br> + <!-- ?id=ID&amp;nu=XX --> + <a href="?id=ID&amp;nu=XX">id=ID&amp;nu=XX</a><br> + <!-- ?id=ID&amp;xi=XX --> + <a href="?id=ID&amp;xi=XX">id=ID&amp;xi=XX</a><br> + <!-- ?id=ID&amp;omicron=XX --> + <a href="?id=ID&amp;omicron=XX">id=ID&amp;omicron=XX</a><br> + <!-- ?id=ID&amp;pi=XX --> + <a href="?id=ID&amp;pi=XX">id=ID&amp;pi=XX</a><br> + <!-- ?id=ID&amp;rho=XX --> + <a href="?id=ID&amp;rho=XX">id=ID&amp;rho=XX</a><br> + <!-- ?id=ID&amp;sigmaf=XX --> + <a href="?id=ID&amp;sigmaf=XX">id=ID&amp;sigmaf=XX</a><br> + <!-- ?id=ID&amp;sigma=XX --> + <a href="?id=ID&amp;sigma=XX">id=ID&amp;sigma=XX</a><br> + <!-- ?id=ID&amp;tau=XX --> + <a href="?id=ID&amp;tau=XX">id=ID&amp;tau=XX</a><br> + <!-- ?id=ID&amp;upsilon=XX --> + <a href="?id=ID&amp;upsilon=XX">id=ID&amp;upsilon=XX</a><br> + <!-- ?id=ID&amp;phi=XX --> + <a href="?id=ID&amp;phi=XX">id=ID&amp;phi=XX</a><br> + <!-- ?id=ID&amp;chi=XX --> + <a href="?id=ID&amp;chi=XX">id=ID&amp;chi=XX</a><br> + <!-- ?id=ID&amp;psi=XX --> + <a href="?id=ID&amp;psi=XX">id=ID&amp;psi=XX</a><br> + <!-- ?id=ID&amp;omega=XX --> + <a href="?id=ID&amp;omega=XX">id=ID&amp;omega=XX</a><br> + <!-- ?id=ID&amp;thetasym=XX --> + <a href="?id=ID&amp;thetasym=XX">id=ID&amp;thetasym=XX</a><br> + <!-- ?id=ID&amp;upsih=XX --> + <a href="?id=ID&amp;upsih=XX">id=ID&amp;upsih=XX</a><br> + <!-- ?id=ID&amp;piv=XX --> + <a href="?id=ID&amp;piv=XX">id=ID&amp;piv=XX</a><br> + <!-- ?id=ID&amp;bull=XX --> + <a href="?id=ID&amp;bull=XX">id=ID&amp;bull=XX</a><br> + <!-- ?id=ID&amp;hellip=XX --> + <a href="?id=ID&amp;hellip=XX">id=ID&amp;hellip=XX</a><br> + <!-- ?id=ID&amp;prime=XX --> + <a href="?id=ID&amp;prime=XX">id=ID&amp;prime=XX</a><br> + <!-- ?id=ID&amp;Prime=XX --> + <a href="?id=ID&amp;Prime=XX">id=ID&amp;Prime=XX</a><br> + <!-- ?id=ID&amp;oline=XX --> + <a href="?id=ID&amp;oline=XX">id=ID&amp;oline=XX</a><br> + <!-- ?id=ID&amp;frasl=XX --> + <a href="?id=ID&amp;frasl=XX">id=ID&amp;frasl=XX</a><br> + <!-- ?id=ID&amp;weierp=XX --> + <a href="?id=ID&amp;weierp=XX">id=ID&amp;weierp=XX</a><br> + <!-- ?id=ID&amp;image=XX --> + <a href="?id=ID&amp;image=XX">id=ID&amp;image=XX</a><br> + <!-- ?id=ID&amp;real=XX --> + <a href="?id=ID&amp;real=XX">id=ID&amp;real=XX</a><br> + <!-- ?id=ID&amp;trade=XX --> + <a href="?id=ID&amp;trade=XX">id=ID&amp;trade=XX</a><br> + <!-- ?id=ID&amp;alefsym=XX --> + <a href="?id=ID&amp;alefsym=XX">id=ID&amp;alefsym=XX</a><br> + <!-- ?id=ID&amp;larr=XX --> + <a href="?id=ID&amp;larr=XX">id=ID&amp;larr=XX</a><br> + <!-- ?id=ID&amp;uarr=XX --> + <a href="?id=ID&amp;uarr=XX">id=ID&amp;uarr=XX</a><br> + <!-- ?id=ID&amp;rarr=XX --> + <a href="?id=ID&amp;rarr=XX">id=ID&amp;rarr=XX</a><br> + <!-- ?id=ID&amp;darr=XX --> + <a href="?id=ID&amp;darr=XX">id=ID&amp;darr=XX</a><br> + <!-- ?id=ID&amp;harr=XX --> + <a href="?id=ID&amp;harr=XX">id=ID&amp;harr=XX</a><br> + <!-- ?id=ID&amp;crarr=XX --> + <a href="?id=ID&amp;crarr=XX">id=ID&amp;crarr=XX</a><br> + <!-- ?id=ID&amp;lArr=XX --> + <a href="?id=ID&amp;lArr=XX">id=ID&amp;lArr=XX</a><br> + <!-- ?id=ID&amp;uArr=XX --> + <a href="?id=ID&amp;uArr=XX">id=ID&amp;uArr=XX</a><br> + <!-- ?id=ID&amp;rArr=XX --> + <a href="?id=ID&amp;rArr=XX">id=ID&amp;rArr=XX</a><br> + <!-- ?id=ID&amp;dArr=XX --> + <a href="?id=ID&amp;dArr=XX">id=ID&amp;dArr=XX</a><br> + <!-- ?id=ID&amp;hArr=XX --> + <a href="?id=ID&amp;hArr=XX">id=ID&amp;hArr=XX</a><br> + <!-- ?id=ID&amp;forall=XX --> + <a href="?id=ID&amp;forall=XX">id=ID&amp;forall=XX</a><br> + <!-- ?id=ID&amp;part=XX --> + <a href="?id=ID&amp;part=XX">id=ID&amp;part=XX</a><br> + <!-- ?id=ID&amp;exist=XX --> + <a href="?id=ID&amp;exist=XX">id=ID&amp;exist=XX</a><br> + <!-- ?id=ID&amp;empty=XX --> + <a href="?id=ID&amp;empty=XX">id=ID&amp;empty=XX</a><br> + <!-- ?id=ID&amp;nabla=XX --> + <a href="?id=ID&amp;nabla=XX">id=ID&amp;nabla=XX</a><br> + <!-- ?id=ID&amp;isin=XX --> + <a href="?id=ID&amp;isin=XX">id=ID&amp;isin=XX</a><br> + <!-- NOTE: In character content (but not in attribute values), IE 5.5 --> + + <!-- treats this as id=ID&not;in=XX but this looks like an IE bug so we --> + + <!-- ignore this behavior and stick to our simple < 256 rule. --> + <!-- ?id=ID&amp;notin=XX --> + <a href="?id=ID&amp;notin=XX">id=ID&amp;notin=XX</a><br> + <!-- ?id=ID&amp;ni=XX --> + <a href="?id=ID&amp;ni=XX">id=ID&amp;ni=XX</a><br> + <!-- ?id=ID&amp;prod=XX --> + <a href="?id=ID&amp;prod=XX">id=ID&amp;prod=XX</a><br> + <!-- ?id=ID&amp;sum=XX --> + <a href="?id=ID&amp;sum=XX">id=ID&amp;sum=XX</a><br> + <!-- ?id=ID&amp;minus=XX --> + <a href="?id=ID&amp;minus=XX">id=ID&amp;minus=XX</a><br> + <!-- ?id=ID&amp;lowast=XX --> + <a href="?id=ID&amp;lowast=XX">id=ID&amp;lowast=XX</a><br> + <!-- ?id=ID&amp;radic=XX --> + <a href="?id=ID&amp;radic=XX">id=ID&amp;radic=XX</a><br> + <!-- ?id=ID&amp;prop=XX --> + <a href="?id=ID&amp;prop=XX">id=ID&amp;prop=XX</a><br> + <!-- ?id=ID&amp;infin=XX --> + <a href="?id=ID&amp;infin=XX">id=ID&amp;infin=XX</a><br> + <!-- ?id=ID&amp;ang=XX --> + <a href="?id=ID&amp;ang=XX">id=ID&amp;ang=XX</a><br> + <!-- ?id=ID&amp;and=XX --> + <a href="?id=ID&amp;and=XX">id=ID&amp;and=XX</a><br> + <!-- ?id=ID&amp;or=XX --> + <a href="?id=ID&amp;or=XX">id=ID&amp;or=XX</a><br> + <!-- ?id=ID&amp;cap=XX --> + <a href="?id=ID&amp;cap=XX">id=ID&amp;cap=XX</a><br> + <!-- ?id=ID&amp;cup=XX --> + <a href="?id=ID&amp;cup=XX">id=ID&amp;cup=XX</a><br> + <!-- ?id=ID&amp;int=XX --> + <a href="?id=ID&amp;int=XX">id=ID&amp;int=XX</a><br> + <!-- ?id=ID&amp;there4=XX --> + <a href="?id=ID&amp;there4=XX">id=ID&amp;there4=XX</a><br> + <!-- ?id=ID&amp;sim=XX --> + <a href="?id=ID&amp;sim=XX">id=ID&amp;sim=XX</a><br> + <!-- ?id=ID&amp;cong=XX --> + <a href="?id=ID&amp;cong=XX">id=ID&amp;cong=XX</a><br> + <!-- ?id=ID&amp;asymp=XX --> + <a href="?id=ID&amp;asymp=XX">id=ID&amp;asymp=XX</a><br> + <!-- ?id=ID&amp;ne=XX --> + <a href="?id=ID&amp;ne=XX">id=ID&amp;ne=XX</a><br> + <!-- ?id=ID&amp;equiv=XX --> + <a href="?id=ID&amp;equiv=XX">id=ID&amp;equiv=XX</a><br> + <!-- ?id=ID&amp;le=XX --> + <a href="?id=ID&amp;le=XX">id=ID&amp;le=XX</a><br> + <!-- ?id=ID&amp;ge=XX --> + <a href="?id=ID&amp;ge=XX">id=ID&amp;ge=XX</a><br> + <!-- ?id=ID&amp;sub=XX --> + <a href="?id=ID&amp;sub=XX">id=ID&amp;sub=XX</a><br> + <!-- ?id=ID&amp;sup=XX --> + <a href="?id=ID&amp;sup=XX">id=ID&amp;sup=XX</a><br> + <!-- ?id=ID&amp;nsub=XX --> + <a href="?id=ID&amp;nsub=XX">id=ID&amp;nsub=XX</a><br> + <!-- ?id=ID&amp;sube=XX --> + <a href="?id=ID&amp;sube=XX">id=ID&amp;sube=XX</a><br> + <!-- ?id=ID&amp;supe=XX --> + <a href="?id=ID&amp;supe=XX">id=ID&amp;supe=XX</a><br> + <!-- ?id=ID&amp;oplus=XX --> + <a href="?id=ID&amp;oplus=XX">id=ID&amp;oplus=XX</a><br> + <!-- ?id=ID&amp;otimes=XX --> + <a href="?id=ID&amp;otimes=XX">id=ID&amp;otimes=XX</a><br> + <!-- ?id=ID&amp;perp=XX --> + <a href="?id=ID&amp;perp=XX">id=ID&amp;perp=XX</a><br> + <!-- ?id=ID&amp;sdot=XX --> + <a href="?id=ID&amp;sdot=XX">id=ID&amp;sdot=XX</a><br> + <!-- ?id=ID&amp;lceil=XX --> + <a href="?id=ID&amp;lceil=XX">id=ID&amp;lceil=XX</a><br> + <!-- ?id=ID&amp;rceil=XX --> + <a href="?id=ID&amp;rceil=XX">id=ID&amp;rceil=XX</a><br> + <!-- ?id=ID&amp;lfloor=XX --> + <a href="?id=ID&amp;lfloor=XX">id=ID&amp;lfloor=XX</a><br> + <!-- ?id=ID&amp;rfloor=XX --> + <a href="?id=ID&amp;rfloor=XX">id=ID&amp;rfloor=XX</a><br> + <!-- ?id=ID&amp;lang=XX --> + <a href="?id=ID&amp;lang=XX">id=ID&amp;lang=XX</a><br> + <!-- ?id=ID&amp;rang=XX --> + <a href="?id=ID&amp;rang=XX">id=ID&amp;rang=XX</a><br> + <!-- ?id=ID&amp;loz=XX --> + <a href="?id=ID&amp;loz=XX">id=ID&amp;loz=XX</a><br> + <!-- ?id=ID&amp;spades=XX --> + <a href="?id=ID&amp;spades=XX">id=ID&amp;spades=XX</a><br> + <!-- ?id=ID&amp;clubs=XX --> + <a href="?id=ID&amp;clubs=XX">id=ID&amp;clubs=XX</a><br> + <!-- ?id=ID&amp;hearts=XX --> + <a href="?id=ID&amp;hearts=XX">id=ID&amp;hearts=XX</a><br> + <!-- ?id=ID&amp;diams=XX --> + <a href="?id=ID&amp;diams=XX">id=ID&amp;diams=XX</a><br> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + + <!-- Start of second of two groups of character entities < 256.--> + + <!-- Assume a missing semicolon. --> + <!-- ?id=ID&quot;=XX --> + <a href="?id=ID&quot;=XX">id=ID"=XX</a><br> + <!-- ?id=ID&amp;=XX --> + <a href="?id=ID&amp;=XX">id=ID&amp;=XX</a><br> + <!-- ?id=ID&lt;=XX --> + <a href="?id=ID%3C=XX">id=ID&lt;=XX</a><br> + <!-- ?id=ID&gt;=XX --> + <a href="?id=ID%3E=XX">id=ID&gt;=XX</a><br> + <!-- End of second of two groups of character entities < 256.--> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- ?id=ID&amp;OElig=XX --> + <a href="?id=ID&amp;OElig=XX">id=ID&amp;OElig=XX</a><br> + <!-- ?id=ID&amp;oelig=XX --> + <a href="?id=ID&amp;oelig=XX">id=ID&amp;oelig=XX</a><br> + <!-- ?id=ID&amp;Scaron=XX --> + <a href="?id=ID&amp;Scaron=XX">id=ID&amp;Scaron=XX</a><br> + <!-- ?id=ID&amp;scaron=XX --> + <a href="?id=ID&amp;scaron=XX">id=ID&amp;scaron=XX</a><br> + <!-- ?id=ID&amp;Yuml=XX --> + <a href="?id=ID&amp;Yuml=XX">id=ID&amp;Yuml=XX</a><br> + <!-- ?id=ID&amp;circ=XX --> + <a href="?id=ID&amp;circ=XX">id=ID&amp;circ=XX</a><br> + <!-- ?id=ID&amp;tilde=XX --> + <a href="?id=ID&amp;tilde=XX">id=ID&amp;tilde=XX</a><br> + <!-- ?id=ID&amp;ensp=XX --> + <a href="?id=ID&amp;ensp=XX">id=ID&amp;ensp=XX</a><br> + <!-- ?id=ID&amp;emsp=XX --> + <a href="?id=ID&amp;emsp=XX">id=ID&amp;emsp=XX</a><br> + <!-- ?id=ID&amp;thinsp=XX --> + <a href="?id=ID&amp;thinsp=XX">id=ID&amp;thinsp=XX</a><br> + <!-- ?id=ID&amp;zwnj=XX --> + <a href="?id=ID&amp;zwnj=XX">id=ID&amp;zwnj=XX</a><br> + <!-- ?id=ID&amp;zwj=XX --> + <a href="?id=ID&amp;zwj=XX">id=ID&amp;zwj=XX</a><br> + <!-- ?id=ID&amp;lrm=XX --> + <a href="?id=ID&amp;lrm=XX">id=ID&amp;lrm=XX</a><br> + <!-- ?id=ID&amp;rlm=XX --> + <a href="?id=ID&amp;rlm=XX">id=ID&amp;rlm=XX</a><br> + <!-- ?id=ID&amp;ndash=XX --> + <a href="?id=ID&amp;ndash=XX">id=ID&amp;ndash=XX</a><br> + <!-- ?id=ID&amp;mdash=XX --> + <a href="?id=ID&amp;mdash=XX">id=ID&amp;mdash=XX</a><br> + <!-- ?id=ID&amp;lsquo=XX --> + <a href="?id=ID&amp;lsquo=XX">id=ID&amp;lsquo=XX</a><br> + <!-- ?id=ID&amp;rsquo=XX --> + <a href="?id=ID&amp;rsquo=XX">id=ID&amp;rsquo=XX</a><br> + <!-- ?id=ID&amp;sbquo=XX --> + <a href="?id=ID&amp;sbquo=XX">id=ID&amp;sbquo=XX</a><br> + <!-- ?id=ID&amp;ldquo=XX --> + <a href="?id=ID&amp;ldquo=XX">id=ID&amp;ldquo=XX</a><br> + <!-- ?id=ID&amp;rdquo=XX --> + <a href="?id=ID&amp;rdquo=XX">id=ID&amp;rdquo=XX</a><br> + <!-- ?id=ID&amp;bdquo=XX --> + <a href="?id=ID&amp;bdquo=XX">id=ID&amp;bdquo=XX</a><br> + <!-- ?id=ID&amp;dagger=XX --> + <a href="?id=ID&amp;dagger=XX">id=ID&amp;dagger=XX</a><br> + <!-- ?id=ID&amp;Dagger=XX --> + <a href="?id=ID&amp;Dagger=XX">id=ID&amp;Dagger=XX</a><br> + <!-- ?id=ID&amp;permil=XX --> + <a href="?id=ID&amp;permil=XX">id=ID&amp;permil=XX</a><br> + <!-- ?id=ID&amp;lsaquo=XX --> + <a href="?id=ID&amp;lsaquo=XX">id=ID&amp;lsaquo=XX</a><br> + <!-- ?id=ID&amp;rsaquo=XX --> + <a href="?id=ID&amp;rsaquo=XX">id=ID&amp;rsaquo=XX</a><br> + <!-- NOTE: Netscape 4.7 treats this as a missing semicolon. Since IE 5.5 --> + + <!-- treats it as an unescaped ampersand, we choose IE's behavior since --> + + <!-- it allows us to stick with our simple < 256 rule. --> + <!-- ?id=ID&amp;euro=XX --> + <a href="?id=ID&amp;euro=XX">id=ID&amp;euro=XX</a><br> + <!--=====================================================================--> + + <!-- These are a few non-standard character entities. --> + + <!--=====================================================================--> + <!-- ?id=ID&amp;apos=XX... --> + <a href="?id=ID'=XX">id=ID'=XX</a><br> + <!-- ?id=ID&amp;foo=XX... --> + <a href="?id=ID&amp;foo=XX">id=ID&amp;foo=XX</a><br></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-433012.txt b/regression_testing/cases/legacy-expects/case-433012.txt new file mode 100644 index 0000000..fde28af --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433012.txt @@ -0,0 +1,632 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 15 column 17 - Warning: entity "&nbsp" doesn't end in ';' +line 15 column 32 - Warning: entity "&nbsp" doesn't end in ';' +line 18 column 17 - Warning: entity "&iexcl" doesn't end in ';' +line 18 column 33 - Warning: entity "&iexcl" doesn't end in ';' +line 21 column 17 - Warning: entity "&cent" doesn't end in ';' +line 21 column 32 - Warning: entity "&cent" doesn't end in ';' +line 24 column 17 - Warning: entity "&pound" doesn't end in ';' +line 24 column 33 - Warning: entity "&pound" doesn't end in ';' +line 27 column 17 - Warning: entity "&curren" doesn't end in ';' +line 27 column 34 - Warning: entity "&curren" doesn't end in ';' +line 30 column 17 - Warning: entity "&yen" doesn't end in ';' +line 30 column 31 - Warning: entity "&yen" doesn't end in ';' +line 33 column 17 - Warning: entity "&brvbar" doesn't end in ';' +line 33 column 34 - Warning: entity "&brvbar" doesn't end in ';' +line 36 column 17 - Warning: entity "&sect" doesn't end in ';' +line 36 column 32 - Warning: entity "&sect" doesn't end in ';' +line 39 column 17 - Warning: entity "&uml" doesn't end in ';' +line 39 column 31 - Warning: entity "&uml" doesn't end in ';' +line 42 column 17 - Warning: entity "&copy" doesn't end in ';' +line 42 column 32 - Warning: entity "&copy" doesn't end in ';' +line 45 column 17 - Warning: entity "&ordf" doesn't end in ';' +line 45 column 32 - Warning: entity "&ordf" doesn't end in ';' +line 48 column 17 - Warning: entity "&laquo" doesn't end in ';' +line 48 column 33 - Warning: entity "&laquo" doesn't end in ';' +line 51 column 17 - Warning: entity "&not" doesn't end in ';' +line 51 column 31 - Warning: entity "&not" doesn't end in ';' +line 54 column 17 - Warning: entity "&shy" doesn't end in ';' +line 54 column 31 - Warning: entity "&shy" doesn't end in ';' +line 57 column 17 - Warning: entity "&reg" doesn't end in ';' +line 57 column 31 - Warning: entity "&reg" doesn't end in ';' +line 60 column 17 - Warning: entity "&macr" doesn't end in ';' +line 60 column 32 - Warning: entity "&macr" doesn't end in ';' +line 63 column 17 - Warning: entity "&deg" doesn't end in ';' +line 63 column 31 - Warning: entity "&deg" doesn't end in ';' +line 66 column 17 - Warning: entity "&plusmn" doesn't end in ';' +line 66 column 34 - Warning: entity "&plusmn" doesn't end in ';' +line 69 column 17 - Warning: entity "&sup2" doesn't end in ';' +line 69 column 32 - Warning: entity "&sup2" doesn't end in ';' +line 72 column 17 - Warning: entity "&sup3" doesn't end in ';' +line 72 column 32 - Warning: entity "&sup3" doesn't end in ';' +line 75 column 17 - Warning: entity "&acute" doesn't end in ';' +line 75 column 33 - Warning: entity "&acute" doesn't end in ';' +line 78 column 17 - Warning: entity "&micro" doesn't end in ';' +line 78 column 33 - Warning: entity "&micro" doesn't end in ';' +line 81 column 17 - Warning: entity "&para" doesn't end in ';' +line 81 column 32 - Warning: entity "&para" doesn't end in ';' +line 84 column 17 - Warning: entity "&middot" doesn't end in ';' +line 84 column 34 - Warning: entity "&middot" doesn't end in ';' +line 87 column 17 - Warning: entity "&cedil" doesn't end in ';' +line 87 column 33 - Warning: entity "&cedil" doesn't end in ';' +line 90 column 17 - Warning: entity "&sup1" doesn't end in ';' +line 90 column 32 - Warning: entity "&sup1" doesn't end in ';' +line 93 column 17 - Warning: entity "&ordm" doesn't end in ';' +line 93 column 32 - Warning: entity "&ordm" doesn't end in ';' +line 96 column 17 - Warning: entity "&raquo" doesn't end in ';' +line 96 column 33 - Warning: entity "&raquo" doesn't end in ';' +line 99 column 17 - Warning: entity "&frac14" doesn't end in ';' +line 99 column 34 - Warning: entity "&frac14" doesn't end in ';' +line 102 column 17 - Warning: entity "&frac12" doesn't end in ';' +line 102 column 34 - Warning: entity "&frac12" doesn't end in ';' +line 105 column 17 - Warning: entity "&frac34" doesn't end in ';' +line 105 column 34 - Warning: entity "&frac34" doesn't end in ';' +line 108 column 17 - Warning: entity "&iquest" doesn't end in ';' +line 108 column 34 - Warning: entity "&iquest" doesn't end in ';' +line 111 column 17 - Warning: entity "&Agrave" doesn't end in ';' +line 111 column 34 - Warning: entity "&Agrave" doesn't end in ';' +line 114 column 17 - Warning: entity "&Aacute" doesn't end in ';' +line 114 column 34 - Warning: entity "&Aacute" doesn't end in ';' +line 117 column 17 - Warning: entity "&Acirc" doesn't end in ';' +line 117 column 33 - Warning: entity "&Acirc" doesn't end in ';' +line 120 column 17 - Warning: entity "&Atilde" doesn't end in ';' +line 120 column 34 - Warning: entity "&Atilde" doesn't end in ';' +line 123 column 17 - Warning: entity "&Auml" doesn't end in ';' +line 123 column 32 - Warning: entity "&Auml" doesn't end in ';' +line 126 column 17 - Warning: entity "&Aring" doesn't end in ';' +line 126 column 33 - Warning: entity "&Aring" doesn't end in ';' +line 129 column 17 - Warning: entity "&AElig" doesn't end in ';' +line 129 column 33 - Warning: entity "&AElig" doesn't end in ';' +line 132 column 17 - Warning: entity "&Ccedil" doesn't end in ';' +line 132 column 34 - Warning: entity "&Ccedil" doesn't end in ';' +line 135 column 17 - Warning: entity "&Egrave" doesn't end in ';' +line 135 column 34 - Warning: entity "&Egrave" doesn't end in ';' +line 138 column 17 - Warning: entity "&Eacute" doesn't end in ';' +line 138 column 34 - Warning: entity "&Eacute" doesn't end in ';' +line 141 column 17 - Warning: entity "&Ecirc" doesn't end in ';' +line 141 column 33 - Warning: entity "&Ecirc" doesn't end in ';' +line 144 column 17 - Warning: entity "&Euml" doesn't end in ';' +line 144 column 32 - Warning: entity "&Euml" doesn't end in ';' +line 147 column 17 - Warning: entity "&Igrave" doesn't end in ';' +line 147 column 34 - Warning: entity "&Igrave" doesn't end in ';' +line 150 column 17 - Warning: entity "&Iacute" doesn't end in ';' +line 150 column 34 - Warning: entity "&Iacute" doesn't end in ';' +line 153 column 17 - Warning: entity "&Icirc" doesn't end in ';' +line 153 column 33 - Warning: entity "&Icirc" doesn't end in ';' +line 156 column 17 - Warning: entity "&Iuml" doesn't end in ';' +line 156 column 32 - Warning: entity "&Iuml" doesn't end in ';' +line 159 column 17 - Warning: entity "&ETH" doesn't end in ';' +line 159 column 31 - Warning: entity "&ETH" doesn't end in ';' +line 162 column 17 - Warning: entity "&Ntilde" doesn't end in ';' +line 162 column 34 - Warning: entity "&Ntilde" doesn't end in ';' +line 165 column 17 - Warning: entity "&Ograve" doesn't end in ';' +line 165 column 34 - Warning: entity "&Ograve" doesn't end in ';' +line 168 column 17 - Warning: entity "&Oacute" doesn't end in ';' +line 168 column 34 - Warning: entity "&Oacute" doesn't end in ';' +line 171 column 17 - Warning: entity "&Ocirc" doesn't end in ';' +line 171 column 33 - Warning: entity "&Ocirc" doesn't end in ';' +line 174 column 17 - Warning: entity "&Otilde" doesn't end in ';' +line 174 column 34 - Warning: entity "&Otilde" doesn't end in ';' +line 177 column 17 - Warning: entity "&Ouml" doesn't end in ';' +line 177 column 32 - Warning: entity "&Ouml" doesn't end in ';' +line 180 column 17 - Warning: entity "&times" doesn't end in ';' +line 180 column 33 - Warning: entity "&times" doesn't end in ';' +line 183 column 17 - Warning: entity "&Oslash" doesn't end in ';' +line 183 column 34 - Warning: entity "&Oslash" doesn't end in ';' +line 186 column 17 - Warning: entity "&Ugrave" doesn't end in ';' +line 186 column 34 - Warning: entity "&Ugrave" doesn't end in ';' +line 189 column 17 - Warning: entity "&Uacute" doesn't end in ';' +line 189 column 34 - Warning: entity "&Uacute" doesn't end in ';' +line 192 column 17 - Warning: entity "&Ucirc" doesn't end in ';' +line 192 column 33 - Warning: entity "&Ucirc" doesn't end in ';' +line 195 column 17 - Warning: entity "&Uuml" doesn't end in ';' +line 195 column 32 - Warning: entity "&Uuml" doesn't end in ';' +line 198 column 17 - Warning: entity "&Yacute" doesn't end in ';' +line 198 column 34 - Warning: entity "&Yacute" doesn't end in ';' +line 201 column 17 - Warning: entity "&THORN" doesn't end in ';' +line 201 column 33 - Warning: entity "&THORN" doesn't end in ';' +line 204 column 17 - Warning: entity "&szlig" doesn't end in ';' +line 204 column 33 - Warning: entity "&szlig" doesn't end in ';' +line 207 column 17 - Warning: entity "&agrave" doesn't end in ';' +line 207 column 34 - Warning: entity "&agrave" doesn't end in ';' +line 210 column 17 - Warning: entity "&aacute" doesn't end in ';' +line 210 column 34 - Warning: entity "&aacute" doesn't end in ';' +line 213 column 17 - Warning: entity "&acirc" doesn't end in ';' +line 213 column 33 - Warning: entity "&acirc" doesn't end in ';' +line 216 column 17 - Warning: entity "&atilde" doesn't end in ';' +line 216 column 34 - Warning: entity "&atilde" doesn't end in ';' +line 219 column 17 - Warning: entity "&auml" doesn't end in ';' +line 219 column 32 - Warning: entity "&auml" doesn't end in ';' +line 222 column 17 - Warning: entity "&aring" doesn't end in ';' +line 222 column 33 - Warning: entity "&aring" doesn't end in ';' +line 225 column 17 - Warning: entity "&aelig" doesn't end in ';' +line 225 column 33 - Warning: entity "&aelig" doesn't end in ';' +line 228 column 17 - Warning: entity "&ccedil" doesn't end in ';' +line 228 column 34 - Warning: entity "&ccedil" doesn't end in ';' +line 231 column 17 - Warning: entity "&egrave" doesn't end in ';' +line 231 column 34 - Warning: entity "&egrave" doesn't end in ';' +line 234 column 17 - Warning: entity "&eacute" doesn't end in ';' +line 234 column 34 - Warning: entity "&eacute" doesn't end in ';' +line 237 column 17 - Warning: entity "&ecirc" doesn't end in ';' +line 237 column 33 - Warning: entity "&ecirc" doesn't end in ';' +line 240 column 17 - Warning: entity "&euml" doesn't end in ';' +line 240 column 32 - Warning: entity "&euml" doesn't end in ';' +line 243 column 17 - Warning: entity "&igrave" doesn't end in ';' +line 243 column 34 - Warning: entity "&igrave" doesn't end in ';' +line 246 column 17 - Warning: entity "&iacute" doesn't end in ';' +line 246 column 34 - Warning: entity "&iacute" doesn't end in ';' +line 249 column 17 - Warning: entity "&icirc" doesn't end in ';' +line 249 column 33 - Warning: entity "&icirc" doesn't end in ';' +line 252 column 17 - Warning: entity "&iuml" doesn't end in ';' +line 252 column 32 - Warning: entity "&iuml" doesn't end in ';' +line 255 column 17 - Warning: entity "&eth" doesn't end in ';' +line 255 column 31 - Warning: entity "&eth" doesn't end in ';' +line 258 column 17 - Warning: entity "&ntilde" doesn't end in ';' +line 258 column 34 - Warning: entity "&ntilde" doesn't end in ';' +line 261 column 17 - Warning: entity "&ograve" doesn't end in ';' +line 261 column 34 - Warning: entity "&ograve" doesn't end in ';' +line 264 column 17 - Warning: entity "&oacute" doesn't end in ';' +line 264 column 34 - Warning: entity "&oacute" doesn't end in ';' +line 267 column 17 - Warning: entity "&ocirc" doesn't end in ';' +line 267 column 33 - Warning: entity "&ocirc" doesn't end in ';' +line 270 column 17 - Warning: entity "&otilde" doesn't end in ';' +line 270 column 34 - Warning: entity "&otilde" doesn't end in ';' +line 273 column 17 - Warning: entity "&ouml" doesn't end in ';' +line 273 column 32 - Warning: entity "&ouml" doesn't end in ';' +line 276 column 17 - Warning: entity "&divide" doesn't end in ';' +line 276 column 34 - Warning: entity "&divide" doesn't end in ';' +line 279 column 17 - Warning: entity "&oslash" doesn't end in ';' +line 279 column 34 - Warning: entity "&oslash" doesn't end in ';' +line 282 column 17 - Warning: entity "&ugrave" doesn't end in ';' +line 282 column 34 - Warning: entity "&ugrave" doesn't end in ';' +line 285 column 17 - Warning: entity "&uacute" doesn't end in ';' +line 285 column 34 - Warning: entity "&uacute" doesn't end in ';' +line 288 column 17 - Warning: entity "&ucirc" doesn't end in ';' +line 288 column 33 - Warning: entity "&ucirc" doesn't end in ';' +line 291 column 17 - Warning: entity "&uuml" doesn't end in ';' +line 291 column 32 - Warning: entity "&uuml" doesn't end in ';' +line 294 column 17 - Warning: entity "&yacute" doesn't end in ';' +line 294 column 34 - Warning: entity "&yacute" doesn't end in ';' +line 297 column 17 - Warning: entity "&thorn" doesn't end in ';' +line 297 column 33 - Warning: entity "&thorn" doesn't end in ';' +line 300 column 17 - Warning: entity "&yuml" doesn't end in ';' +line 300 column 32 - Warning: entity "&yuml" doesn't end in ';' +line 308 column 17 - Warning: unescaped & or unknown entity "&fnof" +line 308 column 32 - Warning: unescaped & or unknown entity "&fnof" +line 311 column 17 - Warning: unescaped & or unknown entity "&Alpha" +line 311 column 33 - Warning: unescaped & or unknown entity "&Alpha" +line 314 column 17 - Warning: unescaped & or unknown entity "&Beta" +line 314 column 32 - Warning: unescaped & or unknown entity "&Beta" +line 317 column 17 - Warning: unescaped & or unknown entity "&Gamma" +line 317 column 33 - Warning: unescaped & or unknown entity "&Gamma" +line 320 column 17 - Warning: unescaped & or unknown entity "&Delta" +line 320 column 33 - Warning: unescaped & or unknown entity "&Delta" +line 323 column 17 - Warning: unescaped & or unknown entity "&Epsilon" +line 323 column 35 - Warning: unescaped & or unknown entity "&Epsilon" +line 326 column 17 - Warning: unescaped & or unknown entity "&Zeta" +line 326 column 32 - Warning: unescaped & or unknown entity "&Zeta" +line 329 column 17 - Warning: unescaped & or unknown entity "&Eta" +line 329 column 31 - Warning: unescaped & or unknown entity "&Eta" +line 332 column 17 - Warning: unescaped & or unknown entity "&Theta" +line 332 column 33 - Warning: unescaped & or unknown entity "&Theta" +line 335 column 17 - Warning: unescaped & or unknown entity "&Iota" +line 335 column 32 - Warning: unescaped & or unknown entity "&Iota" +line 338 column 17 - Warning: unescaped & or unknown entity "&Kappa" +line 338 column 33 - Warning: unescaped & or unknown entity "&Kappa" +line 341 column 17 - Warning: unescaped & or unknown entity "&Lambda" +line 341 column 34 - Warning: unescaped & or unknown entity "&Lambda" +line 344 column 17 - Warning: unescaped & or unknown entity "&Mu" +line 344 column 30 - Warning: unescaped & or unknown entity "&Mu" +line 347 column 17 - Warning: unescaped & or unknown entity "&Nu" +line 347 column 30 - Warning: unescaped & or unknown entity "&Nu" +line 350 column 17 - Warning: unescaped & or unknown entity "&Xi" +line 350 column 30 - Warning: unescaped & or unknown entity "&Xi" +line 353 column 17 - Warning: unescaped & or unknown entity "&Omicron" +line 353 column 35 - Warning: unescaped & or unknown entity "&Omicron" +line 356 column 17 - Warning: unescaped & or unknown entity "&Pi" +line 356 column 30 - Warning: unescaped & or unknown entity "&Pi" +line 359 column 17 - Warning: unescaped & or unknown entity "&Rho" +line 359 column 31 - Warning: unescaped & or unknown entity "&Rho" +line 362 column 17 - Warning: unescaped & or unknown entity "&Sigma" +line 362 column 33 - Warning: unescaped & or unknown entity "&Sigma" +line 365 column 17 - Warning: unescaped & or unknown entity "&Tau" +line 365 column 31 - Warning: unescaped & or unknown entity "&Tau" +line 368 column 17 - Warning: unescaped & or unknown entity "&Upsilon" +line 368 column 35 - Warning: unescaped & or unknown entity "&Upsilon" +line 371 column 17 - Warning: unescaped & or unknown entity "&Phi" +line 371 column 31 - Warning: unescaped & or unknown entity "&Phi" +line 374 column 17 - Warning: unescaped & or unknown entity "&Chi" +line 374 column 31 - Warning: unescaped & or unknown entity "&Chi" +line 377 column 17 - Warning: unescaped & or unknown entity "&Psi" +line 377 column 31 - Warning: unescaped & or unknown entity "&Psi" +line 380 column 17 - Warning: unescaped & or unknown entity "&Omega" +line 380 column 33 - Warning: unescaped & or unknown entity "&Omega" +line 383 column 17 - Warning: unescaped & or unknown entity "&alpha" +line 383 column 33 - Warning: unescaped & or unknown entity "&alpha" +line 386 column 17 - Warning: unescaped & or unknown entity "&beta" +line 386 column 32 - Warning: unescaped & or unknown entity "&beta" +line 389 column 17 - Warning: unescaped & or unknown entity "&gamma" +line 389 column 33 - Warning: unescaped & or unknown entity "&gamma" +line 392 column 17 - Warning: unescaped & or unknown entity "&delta" +line 392 column 33 - Warning: unescaped & or unknown entity "&delta" +line 395 column 17 - Warning: unescaped & or unknown entity "&epsilon" +line 395 column 35 - Warning: unescaped & or unknown entity "&epsilon" +line 398 column 17 - Warning: unescaped & or unknown entity "&zeta" +line 398 column 32 - Warning: unescaped & or unknown entity "&zeta" +line 401 column 17 - Warning: unescaped & or unknown entity "&eta" +line 401 column 31 - Warning: unescaped & or unknown entity "&eta" +line 404 column 17 - Warning: unescaped & or unknown entity "&theta" +line 404 column 33 - Warning: unescaped & or unknown entity "&theta" +line 407 column 17 - Warning: unescaped & or unknown entity "&iota" +line 407 column 32 - Warning: unescaped & or unknown entity "&iota" +line 410 column 17 - Warning: unescaped & or unknown entity "&kappa" +line 410 column 33 - Warning: unescaped & or unknown entity "&kappa" +line 413 column 17 - Warning: unescaped & or unknown entity "&lambda" +line 413 column 34 - Warning: unescaped & or unknown entity "&lambda" +line 416 column 17 - Warning: unescaped & or unknown entity "&mu" +line 416 column 30 - Warning: unescaped & or unknown entity "&mu" +line 419 column 17 - Warning: unescaped & or unknown entity "&nu" +line 419 column 30 - Warning: unescaped & or unknown entity "&nu" +line 422 column 17 - Warning: unescaped & or unknown entity "&xi" +line 422 column 30 - Warning: unescaped & or unknown entity "&xi" +line 425 column 17 - Warning: unescaped & or unknown entity "&omicron" +line 425 column 35 - Warning: unescaped & or unknown entity "&omicron" +line 428 column 17 - Warning: unescaped & or unknown entity "&pi" +line 428 column 30 - Warning: unescaped & or unknown entity "&pi" +line 431 column 17 - Warning: unescaped & or unknown entity "&rho" +line 431 column 31 - Warning: unescaped & or unknown entity "&rho" +line 434 column 17 - Warning: unescaped & or unknown entity "&sigmaf" +line 434 column 34 - Warning: unescaped & or unknown entity "&sigmaf" +line 437 column 17 - Warning: unescaped & or unknown entity "&sigma" +line 437 column 33 - Warning: unescaped & or unknown entity "&sigma" +line 440 column 17 - Warning: unescaped & or unknown entity "&tau" +line 440 column 31 - Warning: unescaped & or unknown entity "&tau" +line 443 column 17 - Warning: unescaped & or unknown entity "&upsilon" +line 443 column 35 - Warning: unescaped & or unknown entity "&upsilon" +line 446 column 17 - Warning: unescaped & or unknown entity "&phi" +line 446 column 31 - Warning: unescaped & or unknown entity "&phi" +line 449 column 17 - Warning: unescaped & or unknown entity "&chi" +line 449 column 31 - Warning: unescaped & or unknown entity "&chi" +line 452 column 17 - Warning: unescaped & or unknown entity "&psi" +line 452 column 31 - Warning: unescaped & or unknown entity "&psi" +line 455 column 17 - Warning: unescaped & or unknown entity "&omega" +line 455 column 33 - Warning: unescaped & or unknown entity "&omega" +line 458 column 17 - Warning: unescaped & or unknown entity "&thetasym" +line 458 column 36 - Warning: unescaped & or unknown entity "&thetasym" +line 461 column 17 - Warning: unescaped & or unknown entity "&upsih" +line 461 column 33 - Warning: unescaped & or unknown entity "&upsih" +line 464 column 17 - Warning: unescaped & or unknown entity "&piv" +line 464 column 31 - Warning: unescaped & or unknown entity "&piv" +line 467 column 17 - Warning: unescaped & or unknown entity "&bull" +line 467 column 32 - Warning: unescaped & or unknown entity "&bull" +line 470 column 17 - Warning: unescaped & or unknown entity "&hellip" +line 470 column 34 - Warning: unescaped & or unknown entity "&hellip" +line 473 column 17 - Warning: unescaped & or unknown entity "&prime" +line 473 column 33 - Warning: unescaped & or unknown entity "&prime" +line 476 column 17 - Warning: unescaped & or unknown entity "&Prime" +line 476 column 33 - Warning: unescaped & or unknown entity "&Prime" +line 479 column 17 - Warning: unescaped & or unknown entity "&oline" +line 479 column 33 - Warning: unescaped & or unknown entity "&oline" +line 482 column 17 - Warning: unescaped & or unknown entity "&frasl" +line 482 column 33 - Warning: unescaped & or unknown entity "&frasl" +line 485 column 17 - Warning: unescaped & or unknown entity "&weierp" +line 485 column 34 - Warning: unescaped & or unknown entity "&weierp" +line 488 column 17 - Warning: unescaped & or unknown entity "&image" +line 488 column 33 - Warning: unescaped & or unknown entity "&image" +line 491 column 17 - Warning: unescaped & or unknown entity "&real" +line 491 column 32 - Warning: unescaped & or unknown entity "&real" +line 494 column 17 - Warning: unescaped & or unknown entity "&trade" +line 494 column 33 - Warning: unescaped & or unknown entity "&trade" +line 497 column 17 - Warning: unescaped & or unknown entity "&alefsym" +line 497 column 35 - Warning: unescaped & or unknown entity "&alefsym" +line 500 column 17 - Warning: unescaped & or unknown entity "&larr" +line 500 column 32 - Warning: unescaped & or unknown entity "&larr" +line 503 column 17 - Warning: unescaped & or unknown entity "&uarr" +line 503 column 32 - Warning: unescaped & or unknown entity "&uarr" +line 506 column 17 - Warning: unescaped & or unknown entity "&rarr" +line 506 column 32 - Warning: unescaped & or unknown entity "&rarr" +line 509 column 17 - Warning: unescaped & or unknown entity "&darr" +line 509 column 32 - Warning: unescaped & or unknown entity "&darr" +line 512 column 17 - Warning: unescaped & or unknown entity "&harr" +line 512 column 32 - Warning: unescaped & or unknown entity "&harr" +line 515 column 17 - Warning: unescaped & or unknown entity "&crarr" +line 515 column 33 - Warning: unescaped & or unknown entity "&crarr" +line 518 column 17 - Warning: unescaped & or unknown entity "&lArr" +line 518 column 32 - Warning: unescaped & or unknown entity "&lArr" +line 521 column 17 - Warning: unescaped & or unknown entity "&uArr" +line 521 column 32 - Warning: unescaped & or unknown entity "&uArr" +line 524 column 17 - Warning: unescaped & or unknown entity "&rArr" +line 524 column 32 - Warning: unescaped & or unknown entity "&rArr" +line 527 column 17 - Warning: unescaped & or unknown entity "&dArr" +line 527 column 32 - Warning: unescaped & or unknown entity "&dArr" +line 530 column 17 - Warning: unescaped & or unknown entity "&hArr" +line 530 column 32 - Warning: unescaped & or unknown entity "&hArr" +line 533 column 17 - Warning: unescaped & or unknown entity "&forall" +line 533 column 34 - Warning: unescaped & or unknown entity "&forall" +line 536 column 17 - Warning: unescaped & or unknown entity "&part" +line 536 column 32 - Warning: unescaped & or unknown entity "&part" +line 539 column 17 - Warning: unescaped & or unknown entity "&exist" +line 539 column 33 - Warning: unescaped & or unknown entity "&exist" +line 542 column 17 - Warning: unescaped & or unknown entity "&empty" +line 542 column 33 - Warning: unescaped & or unknown entity "&empty" +line 545 column 17 - Warning: unescaped & or unknown entity "&nabla" +line 545 column 33 - Warning: unescaped & or unknown entity "&nabla" +line 548 column 17 - Warning: unescaped & or unknown entity "&isin" +line 548 column 32 - Warning: unescaped & or unknown entity "&isin" +line 554 column 17 - Warning: unescaped & or unknown entity "&notin" +line 554 column 33 - Warning: unescaped & or unknown entity "&notin" +line 557 column 17 - Warning: unescaped & or unknown entity "&ni" +line 557 column 30 - Warning: unescaped & or unknown entity "&ni" +line 560 column 17 - Warning: unescaped & or unknown entity "&prod" +line 560 column 32 - Warning: unescaped & or unknown entity "&prod" +line 563 column 17 - Warning: unescaped & or unknown entity "&sum" +line 563 column 31 - Warning: unescaped & or unknown entity "&sum" +line 566 column 17 - Warning: unescaped & or unknown entity "&minus" +line 566 column 33 - Warning: unescaped & or unknown entity "&minus" +line 569 column 17 - Warning: unescaped & or unknown entity "&lowast" +line 569 column 34 - Warning: unescaped & or unknown entity "&lowast" +line 572 column 17 - Warning: unescaped & or unknown entity "&radic" +line 572 column 33 - Warning: unescaped & or unknown entity "&radic" +line 575 column 17 - Warning: unescaped & or unknown entity "&prop" +line 575 column 32 - Warning: unescaped & or unknown entity "&prop" +line 578 column 17 - Warning: unescaped & or unknown entity "&infin" +line 578 column 33 - Warning: unescaped & or unknown entity "&infin" +line 581 column 17 - Warning: unescaped & or unknown entity "&ang" +line 581 column 31 - Warning: unescaped & or unknown entity "&ang" +line 584 column 17 - Warning: unescaped & or unknown entity "&and" +line 584 column 31 - Warning: unescaped & or unknown entity "&and" +line 587 column 17 - Warning: unescaped & or unknown entity "&or" +line 587 column 30 - Warning: unescaped & or unknown entity "&or" +line 590 column 17 - Warning: unescaped & or unknown entity "&cap" +line 590 column 31 - Warning: unescaped & or unknown entity "&cap" +line 593 column 17 - Warning: unescaped & or unknown entity "&cup" +line 593 column 31 - Warning: unescaped & or unknown entity "&cup" +line 596 column 17 - Warning: unescaped & or unknown entity "&int" +line 596 column 31 - Warning: unescaped & or unknown entity "&int" +line 599 column 17 - Warning: unescaped & or unknown entity "&there4" +line 599 column 34 - Warning: unescaped & or unknown entity "&there4" +line 602 column 17 - Warning: unescaped & or unknown entity "&sim" +line 602 column 31 - Warning: unescaped & or unknown entity "&sim" +line 605 column 17 - Warning: unescaped & or unknown entity "&cong" +line 605 column 32 - Warning: unescaped & or unknown entity "&cong" +line 608 column 17 - Warning: unescaped & or unknown entity "&asymp" +line 608 column 33 - Warning: unescaped & or unknown entity "&asymp" +line 611 column 17 - Warning: unescaped & or unknown entity "&ne" +line 611 column 30 - Warning: unescaped & or unknown entity "&ne" +line 614 column 17 - Warning: unescaped & or unknown entity "&equiv" +line 614 column 33 - Warning: unescaped & or unknown entity "&equiv" +line 617 column 17 - Warning: unescaped & or unknown entity "&le" +line 617 column 30 - Warning: unescaped & or unknown entity "&le" +line 620 column 17 - Warning: unescaped & or unknown entity "&ge" +line 620 column 30 - Warning: unescaped & or unknown entity "&ge" +line 623 column 17 - Warning: unescaped & or unknown entity "&sub" +line 623 column 31 - Warning: unescaped & or unknown entity "&sub" +line 626 column 17 - Warning: unescaped & or unknown entity "&sup" +line 626 column 31 - Warning: unescaped & or unknown entity "&sup" +line 629 column 17 - Warning: unescaped & or unknown entity "&nsub" +line 629 column 32 - Warning: unescaped & or unknown entity "&nsub" +line 632 column 17 - Warning: unescaped & or unknown entity "&sube" +line 632 column 32 - Warning: unescaped & or unknown entity "&sube" +line 635 column 17 - Warning: unescaped & or unknown entity "&supe" +line 635 column 32 - Warning: unescaped & or unknown entity "&supe" +line 638 column 17 - Warning: unescaped & or unknown entity "&oplus" +line 638 column 33 - Warning: unescaped & or unknown entity "&oplus" +line 641 column 17 - Warning: unescaped & or unknown entity "&otimes" +line 641 column 34 - Warning: unescaped & or unknown entity "&otimes" +line 644 column 17 - Warning: unescaped & or unknown entity "&perp" +line 644 column 32 - Warning: unescaped & or unknown entity "&perp" +line 647 column 17 - Warning: unescaped & or unknown entity "&sdot" +line 647 column 32 - Warning: unescaped & or unknown entity "&sdot" +line 650 column 17 - Warning: unescaped & or unknown entity "&lceil" +line 650 column 33 - Warning: unescaped & or unknown entity "&lceil" +line 653 column 17 - Warning: unescaped & or unknown entity "&rceil" +line 653 column 33 - Warning: unescaped & or unknown entity "&rceil" +line 656 column 17 - Warning: unescaped & or unknown entity "&lfloor" +line 656 column 34 - Warning: unescaped & or unknown entity "&lfloor" +line 659 column 17 - Warning: unescaped & or unknown entity "&rfloor" +line 659 column 34 - Warning: unescaped & or unknown entity "&rfloor" +line 662 column 17 - Warning: unescaped & or unknown entity "&lang" +line 662 column 32 - Warning: unescaped & or unknown entity "&lang" +line 665 column 17 - Warning: unescaped & or unknown entity "&rang" +line 665 column 32 - Warning: unescaped & or unknown entity "&rang" +line 668 column 17 - Warning: unescaped & or unknown entity "&loz" +line 668 column 31 - Warning: unescaped & or unknown entity "&loz" +line 671 column 17 - Warning: unescaped & or unknown entity "&spades" +line 671 column 34 - Warning: unescaped & or unknown entity "&spades" +line 674 column 17 - Warning: unescaped & or unknown entity "&clubs" +line 674 column 33 - Warning: unescaped & or unknown entity "&clubs" +line 677 column 17 - Warning: unescaped & or unknown entity "&hearts" +line 677 column 34 - Warning: unescaped & or unknown entity "&hearts" +line 680 column 17 - Warning: unescaped & or unknown entity "&diams" +line 680 column 33 - Warning: unescaped & or unknown entity "&diams" +line 689 column 17 - Warning: entity "&quot" doesn't end in ';' +line 689 column 32 - Warning: entity "&quot" doesn't end in ';' +line 692 column 17 - Warning: entity "&amp" doesn't end in ';' +line 692 column 31 - Warning: entity "&amp" doesn't end in ';' +line 695 column 17 - Warning: entity "&lt" doesn't end in ';' +line 695 column 30 - Warning: entity "&lt" doesn't end in ';' +line 698 column 17 - Warning: entity "&gt" doesn't end in ';' +line 698 column 30 - Warning: entity "&gt" doesn't end in ';' +line 706 column 17 - Warning: unescaped & or unknown entity "&OElig" +line 706 column 33 - Warning: unescaped & or unknown entity "&OElig" +line 709 column 17 - Warning: unescaped & or unknown entity "&oelig" +line 709 column 33 - Warning: unescaped & or unknown entity "&oelig" +line 712 column 17 - Warning: unescaped & or unknown entity "&Scaron" +line 712 column 34 - Warning: unescaped & or unknown entity "&Scaron" +line 715 column 17 - Warning: unescaped & or unknown entity "&scaron" +line 715 column 34 - Warning: unescaped & or unknown entity "&scaron" +line 718 column 17 - Warning: unescaped & or unknown entity "&Yuml" +line 718 column 32 - Warning: unescaped & or unknown entity "&Yuml" +line 721 column 17 - Warning: unescaped & or unknown entity "&circ" +line 721 column 32 - Warning: unescaped & or unknown entity "&circ" +line 724 column 17 - Warning: unescaped & or unknown entity "&tilde" +line 724 column 33 - Warning: unescaped & or unknown entity "&tilde" +line 727 column 17 - Warning: unescaped & or unknown entity "&ensp" +line 727 column 32 - Warning: unescaped & or unknown entity "&ensp" +line 730 column 17 - Warning: unescaped & or unknown entity "&emsp" +line 730 column 32 - Warning: unescaped & or unknown entity "&emsp" +line 733 column 17 - Warning: unescaped & or unknown entity "&thinsp" +line 733 column 34 - Warning: unescaped & or unknown entity "&thinsp" +line 736 column 17 - Warning: unescaped & or unknown entity "&zwnj" +line 736 column 32 - Warning: unescaped & or unknown entity "&zwnj" +line 739 column 17 - Warning: unescaped & or unknown entity "&zwj" +line 739 column 31 - Warning: unescaped & or unknown entity "&zwj" +line 742 column 17 - Warning: unescaped & or unknown entity "&lrm" +line 742 column 31 - Warning: unescaped & or unknown entity "&lrm" +line 745 column 17 - Warning: unescaped & or unknown entity "&rlm" +line 745 column 31 - Warning: unescaped & or unknown entity "&rlm" +line 748 column 17 - Warning: unescaped & or unknown entity "&ndash" +line 748 column 33 - Warning: unescaped & or unknown entity "&ndash" +line 751 column 17 - Warning: unescaped & or unknown entity "&mdash" +line 751 column 33 - Warning: unescaped & or unknown entity "&mdash" +line 754 column 17 - Warning: unescaped & or unknown entity "&lsquo" +line 754 column 33 - Warning: unescaped & or unknown entity "&lsquo" +line 757 column 17 - Warning: unescaped & or unknown entity "&rsquo" +line 757 column 33 - Warning: unescaped & or unknown entity "&rsquo" +line 760 column 17 - Warning: unescaped & or unknown entity "&sbquo" +line 760 column 33 - Warning: unescaped & or unknown entity "&sbquo" +line 763 column 17 - Warning: unescaped & or unknown entity "&ldquo" +line 763 column 33 - Warning: unescaped & or unknown entity "&ldquo" +line 766 column 17 - Warning: unescaped & or unknown entity "&rdquo" +line 766 column 33 - Warning: unescaped & or unknown entity "&rdquo" +line 769 column 17 - Warning: unescaped & or unknown entity "&bdquo" +line 769 column 33 - Warning: unescaped & or unknown entity "&bdquo" +line 772 column 17 - Warning: unescaped & or unknown entity "&dagger" +line 772 column 34 - Warning: unescaped & or unknown entity "&dagger" +line 775 column 17 - Warning: unescaped & or unknown entity "&Dagger" +line 775 column 34 - Warning: unescaped & or unknown entity "&Dagger" +line 778 column 17 - Warning: unescaped & or unknown entity "&permil" +line 778 column 34 - Warning: unescaped & or unknown entity "&permil" +line 781 column 17 - Warning: unescaped & or unknown entity "&lsaquo" +line 781 column 34 - Warning: unescaped & or unknown entity "&lsaquo" +line 784 column 17 - Warning: unescaped & or unknown entity "&rsaquo" +line 784 column 34 - Warning: unescaped & or unknown entity "&rsaquo" +line 790 column 17 - Warning: unescaped & or unknown entity "&euro" +line 790 column 32 - Warning: unescaped & or unknown entity "&euro" +line 798 column 17 - Warning: entity "&apos" doesn't end in ';' +line 798 column 32 - Warning: entity "&apos" doesn't end in ';' +line 801 column 17 - Warning: unescaped & or unknown entity "&foo" +line 801 column 31 - Warning: unescaped & or unknown entity "&foo" +line 15 column 2 - Warning: <a> escaping malformed URI reference +line 18 column 2 - Warning: <a> escaping malformed URI reference +line 21 column 2 - Warning: <a> escaping malformed URI reference +line 24 column 2 - Warning: <a> escaping malformed URI reference +line 27 column 2 - Warning: <a> escaping malformed URI reference +line 30 column 2 - Warning: <a> escaping malformed URI reference +line 33 column 2 - Warning: <a> escaping malformed URI reference +line 36 column 2 - Warning: <a> escaping malformed URI reference +line 39 column 2 - Warning: <a> escaping malformed URI reference +line 42 column 2 - Warning: <a> escaping malformed URI reference +line 45 column 2 - Warning: <a> escaping malformed URI reference +line 48 column 2 - Warning: <a> escaping malformed URI reference +line 51 column 2 - Warning: <a> escaping malformed URI reference +line 54 column 2 - Warning: <a> escaping malformed URI reference +line 57 column 2 - Warning: <a> escaping malformed URI reference +line 60 column 2 - Warning: <a> escaping malformed URI reference +line 63 column 2 - Warning: <a> escaping malformed URI reference +line 66 column 2 - Warning: <a> escaping malformed URI reference +line 69 column 2 - Warning: <a> escaping malformed URI reference +line 72 column 2 - Warning: <a> escaping malformed URI reference +line 75 column 2 - Warning: <a> escaping malformed URI reference +line 78 column 2 - Warning: <a> escaping malformed URI reference +line 81 column 2 - Warning: <a> escaping malformed URI reference +line 84 column 2 - Warning: <a> escaping malformed URI reference +line 87 column 2 - Warning: <a> escaping malformed URI reference +line 90 column 2 - Warning: <a> escaping malformed URI reference +line 93 column 2 - Warning: <a> escaping malformed URI reference +line 96 column 2 - Warning: <a> escaping malformed URI reference +line 99 column 2 - Warning: <a> escaping malformed URI reference +line 102 column 2 - Warning: <a> escaping malformed URI reference +line 105 column 2 - Warning: <a> escaping malformed URI reference +line 108 column 2 - Warning: <a> escaping malformed URI reference +line 111 column 2 - Warning: <a> escaping malformed URI reference +line 114 column 2 - Warning: <a> escaping malformed URI reference +line 117 column 2 - Warning: <a> escaping malformed URI reference +line 120 column 2 - Warning: <a> escaping malformed URI reference +line 123 column 2 - Warning: <a> escaping malformed URI reference +line 126 column 2 - Warning: <a> escaping malformed URI reference +line 129 column 2 - Warning: <a> escaping malformed URI reference +line 132 column 2 - Warning: <a> escaping malformed URI reference +line 135 column 2 - Warning: <a> escaping malformed URI reference +line 138 column 2 - Warning: <a> escaping malformed URI reference +line 141 column 2 - Warning: <a> escaping malformed URI reference +line 144 column 2 - Warning: <a> escaping malformed URI reference +line 147 column 2 - Warning: <a> escaping malformed URI reference +line 150 column 2 - Warning: <a> escaping malformed URI reference +line 153 column 2 - Warning: <a> escaping malformed URI reference +line 156 column 2 - Warning: <a> escaping malformed URI reference +line 159 column 2 - Warning: <a> escaping malformed URI reference +line 162 column 2 - Warning: <a> escaping malformed URI reference +line 165 column 2 - Warning: <a> escaping malformed URI reference +line 168 column 2 - Warning: <a> escaping malformed URI reference +line 171 column 2 - Warning: <a> escaping malformed URI reference +line 174 column 2 - Warning: <a> escaping malformed URI reference +line 177 column 2 - Warning: <a> escaping malformed URI reference +line 180 column 2 - Warning: <a> escaping malformed URI reference +line 183 column 2 - Warning: <a> escaping malformed URI reference +line 186 column 2 - Warning: <a> escaping malformed URI reference +line 189 column 2 - Warning: <a> escaping malformed URI reference +line 192 column 2 - Warning: <a> escaping malformed URI reference +line 195 column 2 - Warning: <a> escaping malformed URI reference +line 198 column 2 - Warning: <a> escaping malformed URI reference +line 201 column 2 - Warning: <a> escaping malformed URI reference +line 204 column 2 - Warning: <a> escaping malformed URI reference +line 207 column 2 - Warning: <a> escaping malformed URI reference +line 210 column 2 - Warning: <a> escaping malformed URI reference +line 213 column 2 - Warning: <a> escaping malformed URI reference +line 216 column 2 - Warning: <a> escaping malformed URI reference +line 219 column 2 - Warning: <a> escaping malformed URI reference +line 222 column 2 - Warning: <a> escaping malformed URI reference +line 225 column 2 - Warning: <a> escaping malformed URI reference +line 228 column 2 - Warning: <a> escaping malformed URI reference +line 231 column 2 - Warning: <a> escaping malformed URI reference +line 234 column 2 - Warning: <a> escaping malformed URI reference +line 237 column 2 - Warning: <a> escaping malformed URI reference +line 240 column 2 - Warning: <a> escaping malformed URI reference +line 243 column 2 - Warning: <a> escaping malformed URI reference +line 246 column 2 - Warning: <a> escaping malformed URI reference +line 249 column 2 - Warning: <a> escaping malformed URI reference +line 252 column 2 - Warning: <a> escaping malformed URI reference +line 255 column 2 - Warning: <a> escaping malformed URI reference +line 258 column 2 - Warning: <a> escaping malformed URI reference +line 261 column 2 - Warning: <a> escaping malformed URI reference +line 264 column 2 - Warning: <a> escaping malformed URI reference +line 267 column 2 - Warning: <a> escaping malformed URI reference +line 270 column 2 - Warning: <a> escaping malformed URI reference +line 273 column 2 - Warning: <a> escaping malformed URI reference +line 276 column 2 - Warning: <a> escaping malformed URI reference +line 279 column 2 - Warning: <a> escaping malformed URI reference +line 282 column 2 - Warning: <a> escaping malformed URI reference +line 285 column 2 - Warning: <a> escaping malformed URI reference +line 288 column 2 - Warning: <a> escaping malformed URI reference +line 291 column 2 - Warning: <a> escaping malformed URI reference +line 294 column 2 - Warning: <a> escaping malformed URI reference +line 297 column 2 - Warning: <a> escaping malformed URI reference +line 300 column 2 - Warning: <a> escaping malformed URI reference +line 689 column 2 - Warning: <a> illegal characters found in URI +line 695 column 2 - Warning: <a> escaping malformed URI reference +line 695 column 2 - Warning: <a> illegal characters found in URI +line 698 column 2 - Warning: <a> escaping malformed URI reference +line 698 column 2 - Warning: <a> illegal characters found in URI +Info: Document content looks like HTML5 +Tidy found 610 warnings and 0 errors! + +URIs must be properly escaped, they must not contain unescaped +characters below U+0021 including the space character and not +above U+007E. Tidy escapes the URI for you as recommended by +HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents +use another algorithm to escape such URIs and some server-sided +scripts depend on that. If you want to depend on that, you must +escape the URI on your own. For more information please refer to +http://www.w3.org/International/O-URL-and-ident.html + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433021.html b/regression_testing/cases/legacy-expects/case-433021.html new file mode 100644 index 0000000..49b4e2e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433021.html @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #433021 ] Identify attribute whose value is bad</title> +</head> +<body> + <p align="fizzle">text</p> + <table summary="none"> + <tr> + <td align="center" + valign="center"> + <p>"valign" attr value can't be "center"</p> + </td> + <td align="center" + valign="fuzzle"> + <p>"valign" attr value can't be "fuzzle"</p> + </td> + <td align="fuzzle" + valign="fuzzle"> + <p>"align"/"valign" attr values can't be "fuzzle"</p> + </td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-433021.txt b/regression_testing/cases/legacy-expects/case-433021.txt new file mode 100644 index 0000000..13af5a2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433021.txt @@ -0,0 +1,24 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 1 - Warning: <p> attribute "align" has invalid value "fizzle" +line 7 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 +line 9 column 1 - Warning: <td> attribute "valign" has invalid value "center" +line 11 column 1 - Warning: <td> attribute "valign" has invalid value "fuzzle" +line 13 column 1 - Warning: <td> attribute "align" has invalid value "fuzzle" +line 13 column 1 - Warning: <td> attribute "valign" has invalid value "fuzzle" +line 6 column 1 - Warning: <p> attribute "align" not allowed for HTML5 +line 9 column 1 - Warning: <td> attribute "align" not allowed for HTML5 +line 11 column 1 - Warning: <td> attribute "align" not allowed for HTML5 +line 13 column 1 - Warning: <td> attribute "align" not allowed for HTML5 +Info: Document content looks like HTML5 +Tidy found 11 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433040.html b/regression_testing/cases/legacy-expects/case-433040.html new file mode 100644 index 0000000..6bdc1d2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433040.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>[ #433040 ] Anchor tag without attributes deleted</title> +</head> +<body> + <a>Tidy strips Anchor tags when there are no attributes</a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-433040.txt b/regression_testing/cases/legacy-expects/case-433040.txt new file mode 100644 index 0000000..9ac01ed --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433040.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433359.html b/regression_testing/cases/legacy-expects/case-433359.html new file mode 100644 index 0000000..eafcd0e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433359.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>[ #433359 ] Empty iframe elements trimmed</title> +</head> +<body> + This is a test <iframe>So is this</iframe> <iframe></iframe> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-433359.txt b/regression_testing/cases/legacy-expects/case-433359.txt new file mode 100644 index 0000000..9ac01ed --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433359.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433360.html b/regression_testing/cases/legacy-expects/case-433360.html new file mode 100644 index 0000000..9dd89d8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433360.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #433360 ] Tags with missing &gt; can't be + repaired</title> + <style type="text/css"> + span.c2 {font-family: arial,helvetica, geneva; font-size: 64%} + span.c1 {font-size: 64%} + </style> +</head> +<body> + <p><span class="c1">There seems to be an error occurring when you + don't</span> <span class="c2"><strong>end</strong> a tag with a + &gt;. Tidy won't fix it.</span></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-433360.txt b/regression_testing/cases/legacy-expects/case-433360.txt new file mode 100644 index 0000000..c7ce742 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433360.txt @@ -0,0 +1,20 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 1 - Warning: <font> missing '>' for end of tag +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433604.txt b/regression_testing/cases/legacy-expects/case-433604.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433604.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433604.xml b/regression_testing/cases/legacy-expects/case-433604.xml new file mode 100644 index 0000000..4ca9324 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433604.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<text>[ #433604 ] Tidy inserts &amp;nbsp; entity in -xml mode. Use +-xml on command line. Test of &#160;</text> diff --git a/regression_testing/cases/legacy-expects/case-433607.txt b/regression_testing/cases/legacy-expects/case-433607.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433607.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433607.xml b/regression_testing/cases/legacy-expects/case-433607.xml new file mode 100644 index 0000000..e5c2ecb --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433607.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<text>[ #433607 ] No warning for omitted end tag with -xml. Use +-xml on command line.</text> diff --git a/regression_testing/cases/legacy-expects/case-433656.html b/regression_testing/cases/legacy-expects/case-433656.html new file mode 100644 index 0000000..c2a5cd8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433656.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>[ #433656 ] Improve support for PHP</title> +</head> +<body> + (some text) <?php mkfooter(); ?> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-433656.txt b/regression_testing/cases/legacy-expects/case-433656.txt new file mode 100644 index 0000000..9ac01ed --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433656.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433666.html b/regression_testing/cases/legacy-expects/case-433666.html new file mode 100644 index 0000000..25d3afb --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433666.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #433666 ] Attempt to repair duplicate attributes</title> + <style type="text/css"> + table.c1 {background-color: #000000} + </style> +</head> +<body> + <table class="c1" + border="0" + cellspacing="0" + cellpadding="0" + align="left" + summary="Test"> + <tr> + <td>Test</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-433666.txt b/regression_testing/cases/legacy-expects/case-433666.txt new file mode 100644 index 0000000..03ab4e2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433666.txt @@ -0,0 +1,17 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 4 column 1 - Warning: <table> dropping value "right" for repeated attribute "align" +line 4 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 +line 4 column 1 - Warning: <table> attribute "align" not allowed for HTML5 +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-433672.html b/regression_testing/cases/legacy-expects/case-433672.html new file mode 100644 index 0000000..88cd3b4 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433672.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #433672 ] Anchor enclosing Header tags is + omitted</title> + <style type="text/css"> + div.c1 {text-align: center} + </style> +</head> +<body> + <a name="xyz" + id="xyz"> + <h2>Section heading</h2></a> + <h2><a name="abc" + id="abc">Another heading</a></h2><a href='#xyz'> + <div class="c1"><img alt='ack!' + src='joebob.gif'></div></a> + <p><a href='#abc'>Goto Another Heading</a></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-433672.txt b/regression_testing/cases/legacy-expects/case-433672.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-433672.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-434047.html b/regression_testing/cases/legacy-expects/case-434047.html new file mode 100644 index 0000000..b8ba22f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-434047.html @@ -0,0 +1,14 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>[ #434047 ] Mixed content in 4.01 Strict not + allowed</title> +</head> +<body> + <table summary="None"> + <tr> + <td>Some text.</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-434047.txt b/regression_testing/cases/legacy-expects/case-434047.txt new file mode 100644 index 0000000..7e8202f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-434047.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-434100.txt b/regression_testing/cases/legacy-expects/case-434100.txt new file mode 100644 index 0000000..e0851f0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-434100.txt @@ -0,0 +1,22 @@ +line 7 column 1 - Info: value for attribute "http-equiv" missing quote marks +line 8 column 1 - Info: value for attribute "name" missing quote marks +line 8 column 1 - Info: value for attribute "content" missing quote marks +line 9 column 1 - Info: value for attribute "name" missing quote marks +line 10 column 1 - Info: value for attribute "name" missing quote marks +line 11 column 1 - Info: value for attribute "rel" missing quote marks +line 13 column 1 - Error: unexpected </head> in <link> +Tidy found 0 warnings and 1 error! + +This document has errors that must be fixed before +using HTML Tidy to generate a tidied up version. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-434940.html b/regression_testing/cases/legacy-expects/case-434940.html new file mode 100644 index 0000000..0bc8c4a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-434940.html @@ -0,0 +1 @@ +Use "--show-body-only yes" on the command line diff --git a/regression_testing/cases/legacy-expects/case-434940.txt b/regression_testing/cases/legacy-expects/case-434940.txt new file mode 100644 index 0000000..9de8c4e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-434940.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 3.2 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-435903.html b/regression_testing/cases/legacy-expects/case-435903.html new file mode 100644 index 0000000..94852fa --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435903.html @@ -0,0 +1,21 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #435903 ] Script element w/body child to table + bug&gt;</title> +</head> +<body> + <script language="JavaScript"> + function email() + { + address=document.emailform.emailinput.value; + location='http://www.cnn.com/EMAIL/index.html?'+address; + } + </script> + <table> + <tr> + <td></td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-435903.txt b/regression_testing/cases/legacy-expects/case-435903.txt new file mode 100644 index 0000000..4fb3cb0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435903.txt @@ -0,0 +1,23 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 10 column 9 - Info: value for attribute "language" missing quote marks +line 10 column 9 - Warning: <script> isn't allowed in <tr> elements +line 9 column 7 - Info: <tr> previously mentioned +line 9 column 7 - Warning: trimming empty <tr> +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-435917.html b/regression_testing/cases/legacy-expects/case-435917.html new file mode 100644 index 0000000..ecc9882 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435917.html @@ -0,0 +1,13 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>[ #435917 ] &lt;input onfocus=""&gt; reported unknown + attr</title> +</head> +<body> + bug #1 + <form> + <input onfocus=""> bug #2 <input> + </form> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-435917.txt b/regression_testing/cases/legacy-expects/case-435917.txt new file mode 100644 index 0000000..6fc90af --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435917.txt @@ -0,0 +1,20 @@ +line 8 column 1 - Warning: <input> isn't allowed in <body> elements +line 6 column 1 - Info: <body> previously mentioned +line 8 column 1 - Warning: inserting implicit <form> +line 10 column 1 - Warning: <input> attribute with missing trailing quote mark +line 8 column 1 - Warning: missing </form> +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-435919.html b/regression_testing/cases/legacy-expects/case-435919.html new file mode 100644 index 0000000..9195023 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435919.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #435919 ] Nested &lt;q&gt;&lt;/q&gt;'s not handled + correctly</title> +</head> +<body> + <q>So then I said to him, <q>don't go there.</q></q> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-435919.txt b/regression_testing/cases/legacy-expects/case-435919.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435919.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-435920.html b/regression_testing/cases/legacy-expects/case-435920.html new file mode 100644 index 0000000..65326b0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435920.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #435920 ] Space inserted before &lt;/td&gt; causes + probs</title> +</head> +<body> + bla + <table summary="none"> + <tr> + <td><span>&nbsp;</span></td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-435920.txt b/regression_testing/cases/legacy-expects/case-435920.txt new file mode 100644 index 0000000..308db03 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435920.txt @@ -0,0 +1,20 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-435922.html b/regression_testing/cases/legacy-expects/case-435922.html new file mode 100644 index 0000000..4635a9c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435922.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #435922 ] Missing &lt;form&gt; around &lt;input&gt; no + warning</title> +</head> +<body> + <input type='text' + name='test'><br> + <input type='submit'> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-435922.txt b/regression_testing/cases/legacy-expects/case-435922.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435922.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-435923.html b/regression_testing/cases/legacy-expects/case-435923.html new file mode 100644 index 0000000..771fee5 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435923.html @@ -0,0 +1,9 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>[ #435923 ] Preserve case of attribute names</title> +</head> +<body> + <textarea>Blah Blah Blah</textarea> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-435923.txt b/regression_testing/cases/legacy-expects/case-435923.txt new file mode 100644 index 0000000..9ac01ed --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-435923.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-437468.html b/regression_testing/cases/legacy-expects/case-437468.html new file mode 100644 index 0000000..ccdb014 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-437468.html @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <title>Test input file for iso-8859-1 character entities</title> +</head> +<body> + <p>Phrase with numeric quotes expressly stated: &ldquo;Dj conu + l're de Cafne&rdquo;</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-437468.txt b/regression_testing/cases/legacy-expects/case-437468.txt new file mode 100644 index 0000000..d461d76 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-437468.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-438650.html b/regression_testing/cases/legacy-expects/case-438650.html new file mode 100644 index 0000000..3eed22b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-438650.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #438650 ] Newline in URL attr value becomes + space</title> +</head> +<body> + <a href="http://www.someverylongurl.com">This is a test</a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-438650.txt b/regression_testing/cases/legacy-expects/case-438650.txt new file mode 100644 index 0000000..380ecf5 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-438650.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 1 - Warning: <a> discarding newline in URI reference +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-438658.html b/regression_testing/cases/legacy-expects/case-438658.html new file mode 100644 index 0000000..8ef57da --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-438658.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #438658 ] Missing / in title endtag makes 2 + titles</title> +</head> +<body> + Test +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-438658.txt b/regression_testing/cases/legacy-expects/case-438658.txt new file mode 100644 index 0000000..2f343af --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-438658.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 3 column 1 - Warning: <title> is probably intended as </title> +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-438954.html b/regression_testing/cases/legacy-expects/case-438954.html new file mode 100644 index 0000000..ccb2b03 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-438954.html @@ -0,0 +1,4 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<title>[ #438954 ] Body tag w/attributes omitted w/hide-end</title> +<body bgcolor="#000000" text="#FFFFFF"> +Use "--hide-endtags yes" on command line diff --git a/regression_testing/cases/legacy-expects/case-438954.txt b/regression_testing/cases/legacy-expects/case-438954.txt new file mode 100644 index 0000000..9ac01ed --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-438954.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-438956.html b/regression_testing/cases/legacy-expects/case-438956.html new file mode 100644 index 0000000..dd19c0a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-438956.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #438956 ] Bad head-endtag reported incorrectly</title> +</head> +<body> + &lt;/&lt;/head&gt; Test +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-438956.txt b/regression_testing/cases/legacy-expects/case-438956.txt new file mode 100644 index 0000000..e0cd6a2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-438956.txt @@ -0,0 +1,18 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 4 column 1 - Warning: plain text isn't allowed in <head> elements +line 2 column 1 - Info: <head> previously mentioned +line 4 column 1 - Warning: inserting implicit <body> +line 5 column 1 - Warning: discarding unexpected <body> +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-441508.html b/regression_testing/cases/legacy-expects/case-441508.html new file mode 100644 index 0000000..71b5bdf --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-441508.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #441508 ] parser.c: BadForm() function broken</title> + <style type="text/css"> + table.c1 {background-color: #000000} + </style> +</head> +<body> + <table class="c1" + border="0" + cellspacing="0" + cellpadding="0" + align="left"> + <tr> + <td>Test</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-441508.txt b/regression_testing/cases/legacy-expects/case-441508.txt new file mode 100644 index 0000000..4a20d17 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-441508.txt @@ -0,0 +1,17 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 4 column 1 - Warning: <table> dropping value "right" for repeated attribute "align" +line 7 column 1 - Warning: missing <tr> +line 4 column 1 - Warning: <table> attribute "align" not allowed for HTML5 +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-441568.html b/regression_testing/cases/legacy-expects/case-441568.html new file mode 100644 index 0000000..590e612 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-441568.html @@ -0,0 +1,15 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<html> +<head> + <title>[ #441568 ] Font tags handling different</title> + <style type="text/css"> + span.c2 {font-size: 120%} + blockquote.c1 {font-size: 120%} + </style> +</head> +<body> + <blockquote class="c1"> + text-one + </blockquote><span class="c2">text-two</span> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-441568.txt b/regression_testing/cases/legacy-expects/case-441568.txt new file mode 100644 index 0000000..9de8c4e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-441568.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 3.2//EN" +Info: Document content looks like HTML 3.2 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-443362.html b/regression_testing/cases/legacy-expects/case-443362.html new file mode 100644 index 0000000..8d9ed67 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-443362.html @@ -0,0 +1,25 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>[ #443362 ] null-pointer except. for doctype in + pre</title> +</head> +<body> + <h1>Unofficial W3C Validator FAQ</h1> + <p>This is a list of frequently asked questions and answers asked + on the <a href= + "http://lists.w3.org/Archive/Public/www-validator-css/" + title="Mailing list archive">www-validator-css@w3.org mailing + list</a>.</p> + <h2>What does "<code>org.xml.sax.SAXException: Please, fix your + system identifier (URI) in the DOCTYPE rule.</code>" mean?</h2> + <p>Your XHTML document contains a document type declaration but + the system identifier points at some non-W3C URI. Your document + probably contains something like this:</p> + <pre> + + +</pre> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-443362.txt b/regression_testing/cases/legacy-expects/case-443362.txt new file mode 100644 index 0000000..d2cbf0b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-443362.txt @@ -0,0 +1,15 @@ +line 26 column 11 - Warning: discarding unexpected <!DOCTYPE> +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Strict +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-443576.html b/regression_testing/cases/legacy-expects/case-443576.html new file mode 100644 index 0000000..66f2864 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-443576.html @@ -0,0 +1,15 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/html4/loose.dtd"> +<html> +<head> + <title>[ #443576 ] End script tag inside scripts problem</title> +</head> +<body> + <script language="JavaScript1.1"> + + <!-- + document.write('<script><\/script>'); + // --> + </script> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-443576.txt b/regression_testing/cases/legacy-expects/case-443576.txt new file mode 100644 index 0000000..d80655d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-443576.txt @@ -0,0 +1,15 @@ +line 10 column 31 - Warning: '<' + '/' + letter not allowed here +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-443678.html b/regression_testing/cases/legacy-expects/case-443678.html new file mode 100644 index 0000000..d27f241 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-443678.html @@ -0,0 +1,27 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #443678 ] Unclosed &lt;script&gt; in &lt;head&gt; messes + Tidy</title> + <script src="bar.js"> + function baz() + { + document.write( '<foo></foo>' ); + document.write( "<bar>\"Some Text\"<\/bar>" ); + } + </script> + <script src="foo.js"></script> + <style type="text/css"> + body { + color: #FF0000; + } + </style> +</head> +<body> + Just a test. + <script> + + test(); + </script> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-443678.txt b/regression_testing/cases/legacy-expects/case-443678.txt new file mode 100644 index 0000000..8b6812b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-443678.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 11 column 1 - Warning: missing </script> +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +You are recommended to use CSS to specify page and link colors +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-445074.html b/regression_testing/cases/legacy-expects/case-445074.html new file mode 100644 index 0000000..c6b479c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-445074.html @@ -0,0 +1,19 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>[ #445074 ] XHTML requires form method="post"</title> +</head> +<body> + <form action="Test" + method="post"> + <table summary="Test"> + <tr> + <td><input type="hidden" + name="Test" + value="Test" /></td> + </tr> + </table> + </form> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-445074.txt b/regression_testing/cases/legacy-expects/case-445074.txt new file mode 100644 index 0000000..8769fc7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-445074.txt @@ -0,0 +1,15 @@ +line 8 column 1 - Warning: <form> attribute value "POST" must be lower case for XHTML +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Strict +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-445394.html b/regression_testing/cases/legacy-expects/case-445394.html new file mode 100644 index 0000000..f973294 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-445394.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #445394 ] Improve handling of missing trailing "</title> +</head> +<body> + <a href="test.html%3Elink%3C/a%3E%20%3Ca%20href=">link</a> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-445394.txt b/regression_testing/cases/legacy-expects/case-445394.txt new file mode 100644 index 0000000..c369750 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-445394.txt @@ -0,0 +1,26 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 1 - Warning: <a> attribute with missing trailing quote mark +line 6 column 1 - Warning: <a> escaping malformed URI reference +line 6 column 1 - Warning: <a> illegal characters found in URI +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +URIs must be properly escaped, they must not contain unescaped +characters below U+0021 including the space character and not +above U+007E. Tidy escapes the URI for you as recommended by +HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents +use another algorithm to escape such URIs and some server-sided +scripts depend on that. If you want to depend on that, you must +escape the URI on your own. For more information please refer to +http://www.w3.org/International/O-URL-and-ident.html + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-445557.html b/regression_testing/cases/legacy-expects/case-445557.html new file mode 100644 index 0000000..9c6389a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-445557.html @@ -0,0 +1,28 @@ +<!DOCTYPE html> +<html> +<!-- the original document had  - I changed that to &ndash; - then &#150; --> +<head> + <title>[ #445557 ] Convert Symbol font chars to Unicode</title> + <style type="text/css"> + span.c1 {font-family: Symbol} + </style> +</head> +<body> + <p>The predicate calculus has a number of theorems and axioms for + proving logical statements. Here are the main symbols used in + predicate calculus:</p> + <p>P(x) &#8211; proposition &#8211; a logical statement in the + condition x.</p> + <p>x &#8211; any condition <strong>in the set of possible + conditions</strong>.</p> + <p>c &#8211; a particular condition <strong>in the set of + possible conditions</strong>.</p> + <p><span class="c1">"</span> &#8211; "For every"</p> + <p><span class="c1">$</span> &#8211; "Exists"</p> + <p><span class="c1"></span> &#8211; Implication</p> + <p><span class="c1"></span> &#8211; Conjunction (logical + and)</p> + <p><span class="c1"></span> &#8211; Disjunction (logical + or)</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-445557.txt b/regression_testing/cases/legacy-expects/case-445557.txt new file mode 100644 index 0000000..e1624a5 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-445557.txt @@ -0,0 +1,35 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 2 column 32 - Warning: replacing invalid character code 150 +line 8 column 12 - Warning: replacing invalid numeric character reference 150 +line 8 column 31 - Warning: replacing invalid numeric character reference 150 +line 9 column 9 - Warning: replacing invalid numeric character reference 150 +line 10 column 9 - Warning: replacing invalid numeric character reference 150 +line 12 column 5 - Warning: replacing invalid numeric character reference 150 +line 14 column 5 - Warning: replacing invalid numeric character reference 150 +line 16 column 5 - Warning: replacing invalid numeric character reference 150 +line 18 column 5 - Warning: replacing invalid numeric character reference 150 +line 20 column 5 - Warning: replacing invalid numeric character reference 150 +Info: Document content looks like HTML5 +Tidy found 11 warnings and 0 errors! + +Character codes 128 to 159 (U+0080 to U+009F) are not allowed in HTML; +even if they were, they would likely be unprintable control characters. +Tidy assumed you wanted to refer to a character with the same byte value in the +specified encoding and replaced that reference with the Unicode +equivalent. + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-449348.html b/regression_testing/cases/legacy-expects/case-449348.html new file mode 100644 index 0000000..f8fa11d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-449348.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>[ #449348 ] Whitespace added/removed to inline tags</title> +</head> +<body> +<p>Make this wrap at the end of the line12345678: +white-<em>space</em><a href="joebob.html"><img alt="joebob" src= +"joebob.gif" /></a></p> +<p>This is long enough a wrap at the next line <em>text</em> +...</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-449348.txt b/regression_testing/cases/legacy-expects/case-449348.txt new file mode 100644 index 0000000..5047354 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-449348.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//IETF//DTD HTML 2.0//EN" +Info: Document content looks like XHTML 1.0 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-470663.html b/regression_testing/cases/legacy-expects/case-470663.html new file mode 100644 index 0000000..355be5f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-470663.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> +<title>Test Input For Bug #470663</title> +</head> +<body> +<p>Body doesn't matter. Problem occurs parsing &lt;head&gt; +element.</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-470663.txt b/regression_testing/cases/legacy-expects/case-470663.txt new file mode 100644 index 0000000..95eb2c9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-470663.txt @@ -0,0 +1,23 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 3 - Info: value for attribute "http-equiv" missing quote marks +line 8 column 3 - Info: value for attribute "name" missing quote marks +line 8 column 3 - Info: value for attribute "content" missing quote marks +line 9 column 3 - Info: value for attribute "name" missing quote marks +line 10 column 3 - Info: value for attribute "name" missing quote marks +line 11 column 3 - Info: value for attribute "rel" missing quote marks +line 1 column 1 - Warning: <html> proprietary attribute "xmlns:v" +line 1 column 1 - Warning: <html> proprietary attribute "xmlns:o" +line 1 column 1 - Warning: <html> proprietary attribute "xmlns:w" +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-473490.html b/regression_testing/cases/legacy-expects/case-473490.html new file mode 100644 index 0000000..3562b5a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-473490.html @@ -0,0 +1,10 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>[ #473490 ] DOCTYPE for Proprietary HTML to XHTML bad</title> +</head> +<body> +<nolayer> +<p>Test</p> +</nolayer> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-473490.txt b/regression_testing/cases/legacy-expects/case-473490.txt new file mode 100644 index 0000000..e69de29 diff --git a/regression_testing/cases/legacy-expects/case-480406.txt b/regression_testing/cases/legacy-expects/case-480406.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-480406.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-480406.xml b/regression_testing/cases/legacy-expects/case-480406.xml new file mode 100644 index 0000000..fc8fb78 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-480406.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<!-- [ #480406 ] Single document element discarded - use "-xml" on command line --> +<test /> diff --git a/regression_testing/cases/legacy-expects/case-480701.txt b/regression_testing/cases/legacy-expects/case-480701.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-480701.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-480701.xml b/regression_testing/cases/legacy-expects/case-480701.xml new file mode 100644 index 0000000..645c106 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-480701.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- [ #480701 ] -xml conflicts with -output-xhtml --> +<test> +<image rdf:resource="http://www.atmedia.net/" /> +</test> +<!-- +Expected output: +<image rdf:resource="http://www.atmedia.net/"/> +or +<image rdf:resource="http://www.atmedia.net/"></image> + +Actual output: +<image rdf:resource="http://www.atmedia.net/"/></image> +--> diff --git a/regression_testing/cases/legacy-expects/case-487204.html b/regression_testing/cases/legacy-expects/case-487204.html new file mode 100644 index 0000000..e081ce5 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-487204.html @@ -0,0 +1,21 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/REC-html401/loose.dtd"> +<html> +<head> + <title>[ #487204 ] Duplicate DIV style attribute + generated</title> + <style type="text/css"> + div.c2 {margin-left: 2em; margin-top: 0in} + ol.c1 {margin-top:0in} + </style> +</head> +<body> + <div class='c2'> + <ol class='c1'> + <li>One</li> + <li>Two</li> + <li>Three</li> + </ol> + </div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-487204.txt b/regression_testing/cases/legacy-expects/case-487204.txt new file mode 100644 index 0000000..a01f713 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-487204.txt @@ -0,0 +1,16 @@ +line 5 column 1 - Warning: inserting implicit <body> +line 6 column 2 - Warning: missing <li> +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-487283.html b/regression_testing/cases/legacy-expects/case-487283.html new file mode 100644 index 0000000..6f8519f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-487283.html @@ -0,0 +1,32 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #487283 ] &gt;/select&lt; does not terminate + &gt;option&lt;</title> +</head> +<body> + <form> + <select> + <option> + first selection + </option> + <option> + next selection + </option> + <option> + last selection + </option> + </select> + </form> + <table> + <tr> + <td>row 1, cell 1</td> + <td>row 1, cell 2</td> + </tr> + <tr> + <td>row 2, cell 1</td> + <td>row 2, cell 2</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-487283.txt b/regression_testing/cases/legacy-expects/case-487283.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-487283.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-501669.html b/regression_testing/cases/legacy-expects/case-501669.html new file mode 100644 index 0000000..4c9b632 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-501669.html @@ -0,0 +1,16 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" +"http://www.w3.org/TR/REC-html401/loose.dtd"> +<html> +<head> + <title>[ #501669 ] width="n*" marked invalid on + &lt;COL&gt;</title> +</head> +<body> + <table summary="col width problem"> + <col width="0*"> + <tr> + <td>xx</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-501669.txt b/regression_testing/cases/legacy-expects/case-501669.txt new file mode 100644 index 0000000..8a0262e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-501669.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-503436.txt b/regression_testing/cases/legacy-expects/case-503436.txt new file mode 100644 index 0000000..3f1a939 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-503436.txt @@ -0,0 +1,13 @@ +line 6 column 3 - Warning: <img> dropping value "first" for repeated attribute "alt" +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-503436.xml b/regression_testing/cases/legacy-expects/case-503436.xml new file mode 100644 index 0000000..32420ec --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-503436.xml @@ -0,0 +1,8 @@ +<html> +<head> +<title>Testcase #503436</title> +</head> +<body> +<img src="image.gif" alt="second" /> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-504206.html b/regression_testing/cases/legacy-expects/case-504206.html new file mode 100644 index 0000000..8ab734b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-504206.html @@ -0,0 +1,179 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ #504206] Tidy errors in processing forms.</title> +</head> +<body> + <h1>COMM 428: Feedback Survey</h1> + <p>Please fill out the following form based on YOUR experience in + COMM 428 to date.</p> + <p>Use the <strong>Send</strong> button at the bottom of the page + to send your feedback to me via e-mail.</p> + <hr> + <form method="post" + action= + "http://hobbes.itc.virginia.edu/cgi-%20uva/cgiwrap/rrn2n/cgi-bin/formmail.cgi"> + <input type="hidden" + name="recipient" + value="rnelson@virginia.edu"> <input type="hidden" + name="subject" + value="Feedback Survey"> <input type="hidden" + name="sort" + value= + "order:realname,email,Future,MIS,Finance,Marketin g,Management,Accounting,Other,questions,practical,prese nts,prepared,enthusiasm,available,stimulates,STRENGTHS, WEAKNESSES,SUGGESTIONS"> + <input type="hidden" + name="required" + value="SUGGESTIONS"> <input type="hidden" + name="env_report" + value="REMOTE_HOST,HTTP_USER_AGENT"> + <p><strong>Name (optional):</strong> <input type="text" + name="realname"></p> + <p><strong>E-Mail Address (optional):</strong> <input type= + "text" + name="email"></p> + <p><strong>Where will you be this time next year?</strong> + <select name="Future"> + <option> + Consulting + </option> + <option> + Corporate MIS + </option> + <option> + Other Employment + </option> + <option> + Graduate School + </option> + <option> + Don't Know Yet + </option> + </select></p> + <p><strong>Area(s) of concentation? (Select all that + Apply):</strong><br> + <input type="checkbox" + name="MIS">MIS<br> + <input type="checkbox" + name="Finance">Finance<br> + <input type="checkbox" + name="Marketing">Marketing<br> + <input type="checkbox" + name="Management">Management<br> + <input type="checkbox" + name="Accounting">Accounting<br> + <input type="checkbox" + name="Other">Other<br></p> + <p><strong>Q1: The instructor gives appropriate consideration + to the comments and questions of students.</strong><br> + <input type="radio" + name="questions" + value="SA">Strongly Agree <input type="radio" + name="questions" + value="A">Agree <input type="radio" + name="questions" + value="N">Neither Agree Nor Disagree <input type="radio" + name="questions" + value="D">Disagree <input type="radio" + name="questions" + value="SD">Strongly Disagree</p> + <p><strong>Q2: The instructor relates theoretical concepts + covered in the course to practical applications.</strong><br> + <input type="radio" + name="practical" + value="SA">Strongly Agree <input type="radio" + name="practical" + value="A">Agree <input type="radio" + name="practical" + value="N">Neither Agree Nor Disagree <input type="radio" + name="practical" + value="D">Disagree <input type="radio" + name="practical" + value="SD">Strongly Disagree</p> + <p><strong>Q3: The instructor presents class material in a + clear and organized manner.</strong><br> + <input type="radio" + name="presents" + value="SA">Strongly Agree <input type="radio" + name="presents" + value="A">Agree <input type="radio" + name="presents" + value="N">Neither Agree Nor Disagree <input type="radio" + name="presents" + value="D">Disagree <input type="radio" + name="presents" + value="SD">Strongly Disagree</p> + <p><strong>Q4: The instructor is prepared for + class.</strong><br> + <input type="radio" + name="prepared" + value="SA">Strongly Agree <input type="radio" + name="prepared" + value="A">Agree <input type="radio" + name="prepared" + value="N">Neither Agree Nor Disagree <input type="radio" + name="prepared" + value="D">Disagree <input type="radio" + name="prepared" + value="SD">Strongly Disagree</p> + <p><strong>Q5: The instructor demonstrates enthusiasm and + interest in the subject matter.</strong><br> + <input type="radio" + name="enthusiasm" + value="SA">Strongly Agree <input type="radio" + name="enthusiasm" + value="A">Agree <input type="radio" + name="enthusiasm" + value="N">Neither Agree Nor Disagree <input type="radio" + name="enthusiasm" + value="D">Disagree <input type="radio" + name="enthusiasm" + value="SD">Strongly Disagree</p> + <p><strong>Q6: The instructor posts reasonable office hours and + is available whenever I try to see him during those + hours.</strong><br> + <input type="radio" + name="available" + value="SA">Strongly Agree <input type="radio" + name="available" + value="A">Agree <input type="radio" + name="available" + value="N">Neither Agree Nor Disagree <input type="radio" + name="available" + value="D">Disagree <input type="radio" + name="available" + value="SD">Strongly Disagree</p> + <p><strong>Q7: The instructor stimulates me to think about the + course.</strong><br> + <input type="radio" + name="stimulates" + value="SA">Strongly Agree <input type="radio" + name="stimulates" + value="A">Agree <input type="radio" + name="stimulates" + value="N">Neither Agree Nor Disagree <input type="radio" + name="stimulates" + value="D">Disagree <input type="radio" + name="stimulates" + value="SD">Strongly Disagree</p> + <p><strong>Stengths (class/instructor):</strong><br> + <textarea rows="5" + cols="60" + name="STRENGTHS"></textarea><br></p> + <p><strong>Weaknesses (class/instructor):</strong><br> + <textarea rows="5" + cols="60" + name="WEAKNESSES"></textarea><br></p> + <p><strong>Suggestions for improvement (class/instructor; NOTE: + This field is REQUIRED):</strong><br> + <textarea rows="5" + cols="60" + name="SUGGESTIONS"></textarea><br></p> + <p><input type="submit" + value="Send"> <input type="reset" + value="Clear Form"></p> + <form> + <hr> + </form> + </form> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-504206.txt b/regression_testing/cases/legacy-expects/case-504206.txt new file mode 100644 index 0000000..938416c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-504206.txt @@ -0,0 +1,49 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 16 column 1 - Info: value for attribute "type" missing quote marks +line 18 column 1 - Info: value for attribute "type" missing quote marks +line 20 column 1 - Info: value for attribute "type" missing quote marks +line 25 column 1 - Info: value for attribute "type" missing quote marks +line 26 column 1 - Info: value for attribute "type" missing quote marks +line 29 column 38 - Info: value for attribute "type" missing quote marks +line 31 column 48 - Info: value for attribute "type" missing quote marks +line 136 column 1 - Info: value for attribute "rows" missing quote marks +line 136 column 1 - Info: value for attribute "cols" missing quote marks +line 141 column 1 - Info: value for attribute "rows" missing quote marks +line 141 column 1 - Info: value for attribute "cols" missing quote marks +line 148 column 1 - Info: value for attribute "rows" missing quote marks +line 148 column 1 - Info: value for attribute "cols" missing quote marks +line 152 column 1 - Warning: <form> shouldn't be nested +line 152 column 1 - Warning: missing </form> +line 12 column 1 - Warning: missing </form> +line 12 column 1 - Warning: <form> escaping malformed URI reference +line 12 column 1 - Warning: <form> illegal characters found in URI +line 42 column 1 - Warning: trimming empty <p> +line 138 column 1 - Warning: trimming empty <p> +line 143 column 1 - Warning: trimming empty <p> +Info: Document content looks like HTML5 +Tidy found 9 warnings and 0 errors! + +URIs must be properly escaped, they must not contain unescaped +characters below U+0021 including the space character and not +above U+007E. Tidy escapes the URI for you as recommended by +HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents +use another algorithm to escape such URIs and some server-sided +scripts depend on that. If you want to depend on that, you must +escape the URI on your own. For more information please refer to +http://www.w3.org/International/O-URL-and-ident.html + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-505770.html b/regression_testing/cases/legacy-expects/case-505770.html new file mode 100644 index 0000000..d612d5a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-505770.html @@ -0,0 +1,50 @@ +<!DOCTYPE html> +<html> +<head> + <meta http-equiv="Content-Type" + content="text/html; charset=iso-8859-1"> + <title>[ #505770] Unclosed option tag causing problems</title> +</head> +<body> + <form name="myhand" + id="myhand"> + <input type="text" + disabled + size="30" + value="Top Card on Discard Pile -- None" + name="topcard"><br> + <select ondblclick= + "parent.master.aGame.Hand.Cards [this.selectedIndex].ShowCard();" + onchange= + "document.myhand.cardtext.value = this [this.selectedIndex].value" + name="handselect" + size="7"> + <option value=""> + -------------Empty Hand--------- ---- + </option> + <option value=""> + </option> + <option value=""> + </option> + <option value=""> + </option> + <option value=""> + </option> + <option value=""> + </option> + <option value=""> + </option> + </select> + <textarea disabled + rows="5" + cols="28" + title="Selected Card Text" + name="cardtext">Selected Card Text +</textarea><br> + <input type="button" + value="Discard &amp; Draw"><br> + <input type="button" + value="Discard &amp; Draw from Discard"> + </form> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-505770.txt b/regression_testing/cases/legacy-expects/case-505770.txt new file mode 100644 index 0000000..fa6e4a8 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-505770.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 25 column 1 - Info: value for attribute "rows" missing quote marks +line 25 column 1 - Info: value for attribute "cols" missing quote marks +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-511243.txt b/regression_testing/cases/legacy-expects/case-511243.txt new file mode 100644 index 0000000..c9d82ac --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-511243.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.1//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-511243.xhtml b/regression_testing/cases/legacy-expects/case-511243.xhtml new file mode 100644 index 0000000..d4381ac --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-511243.xhtml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>[ #511243 ] xhtml utf8 format bug</title> +<!-- use "-utf8" on command line --> +</head> +<body> +<p><font face="Arial,Helvetica" size="3"><b>How +to…</b></font><br /> +Place an extended-hours order:</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-511679.html b/regression_testing/cases/legacy-expects/case-511679.html new file mode 100644 index 0000000..837491c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-511679.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ 511679 ] Block level elements in a &lt;pre&gt; + section</title> +</head> +<body> + <table summary="No end tag for PRE"> + <tr> + <td> + <pre><span class="foo">foo</span></pre> + </td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-511679.txt b/regression_testing/cases/legacy-expects/case-511679.txt new file mode 100644 index 0000000..44e3b07 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-511679.txt @@ -0,0 +1,17 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 2 column 1 - Warning: inserting implicit <body> +line 4 column 7 - Warning: missing </pre> before </td> +line 2 column 1 - Warning: The summary attribute on the <table> element is obsolete in HTML5 +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-533233.html b/regression_testing/cases/legacy-expects/case-533233.html new file mode 100644 index 0000000..89cd8bd --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-533233.html @@ -0,0 +1,33 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <title>Test for bug #533233</title> + <script type="text/javascript"> + //<![CDATA[ + function offsite() + { + document.write("<img src='images/world.gif' alt='[Off Site]' width='17' height='15' border='0'>"); + } + //]]> + </script> + <script type="text/javascript" src="script1.js"></script> +</head> +<body> + <h1>Script sample 1</h1> + <p class="big">Headline project—Link to <a href= + "http://offsite.com/"> + <script type="text/javascript"> + //<![CDATA[ + offsite(); + //]]> + </script>offsite page</a>.</p> + <h1>Input 1</h1> + <p>text + <script type="text/javascript"> + //<![CDATA[ + f(0); + //]]> + </script>text</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-533233.txt b/regression_testing/cases/legacy-expects/case-533233.txt new file mode 100644 index 0000000..fbcf0d6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-533233.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-540571.html b/regression_testing/cases/legacy-expects/case-540571.html new file mode 100644 index 0000000..ce04ef6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-540571.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>#540571 Inconsistent behaviour with span inline element</title> +</head> +<body> + <h1><font color="red">Hello World</font></h1> + <p>The font inline is moved so it becomes a child of the h1 element.</p> + <h1><span color="red">Hello World</span></h1> + <p>The span inline is not moved so it becomes a child of the h1 element, which is inconsistent and does not correspond with current browser behaviour any more.</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-540571.txt b/regression_testing/cases/legacy-expects/case-540571.txt new file mode 100644 index 0000000..1942ce2 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-540571.txt @@ -0,0 +1,34 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 6 column 1 - Warning: missing </font> before <h1> +line 6 column 23 - Warning: inserting implicit <font> +line 6 column 39 - Warning: discarding unexpected </font> +line 10 column 1 - Warning: missing </span> before <h1> +line 10 column 23 - Warning: inserting implicit <span> +line 10 column 39 - Warning: discarding unexpected </span> +line 6 column 1 - Warning: trimming empty <font> +line 10 column 1 - Warning: trimming empty <span> +line 6 column 23 - Warning: <font> element removed from HTML5 +line 10 column 23 - Warning: <span> proprietary attribute "color" +Info: Document content looks like XHTML5 +Tidy found 11 warnings and 0 errors! + +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-543262.html b/regression_testing/cases/legacy-expects/case-543262.html new file mode 100644 index 0000000..c0718fb --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-543262.html @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>Preferences</title> + +<style type="text/css"> +/*<![CDATA[*/ + <!-- + body{ font-FAMILY: arial,sans-serif; margin-right: 2em; margin-left: 3em;} + // --> +/*]]>*/ +</style> +</head> +<body> +<h1>Test</h1> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-543262.txt b/regression_testing/cases/legacy-expects/case-543262.txt new file mode 100644 index 0000000..e69de29 diff --git a/regression_testing/cases/legacy-expects/case-545772.html b/regression_testing/cases/legacy-expects/case-545772.html new file mode 100644 index 0000000..2cc4c98 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-545772.html @@ -0,0 +1,17 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>[ 547057 ] --output-xhtml hangs on most files</title> + +<style type="text/css"> +/*<![CDATA[*/ +<!-- + body { background: white url(../images/structure/mainbg.gif) no-repeat fixed }--> +/*]]>*/ +</style> +</head> +<body> +test +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-545772.txt b/regression_testing/cases/legacy-expects/case-545772.txt new file mode 100644 index 0000000..fcdf75a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-545772.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-553468.txt b/regression_testing/cases/legacy-expects/case-553468.txt new file mode 100644 index 0000000..5bd258a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-553468.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-553468.xhtml b/regression_testing/cases/legacy-expects/case-553468.xhtml new file mode 100644 index 0000000..4d4b105 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-553468.xhtml @@ -0,0 +1,17 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>[ #553468 ] Doesn't warn about &lt;u&gt; in XHTML + strict</title> + <style type="text/css"> + /*<![CDATA[*/ + span.c1 {text-decoration: underline} + /*]]>*/ + </style> +</head> +<body> + <p>Tidy doesn't complain about <span class= + "c1">underlining</span> in XHTML strict documents</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-566542.html b/regression_testing/cases/legacy-expects/case-566542.html new file mode 100644 index 0000000..115e6b1 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-566542.html @@ -0,0 +1,20 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ 566542 ] parser hangs</title> + <!-- This is a particularly horrid bit of markup. Tidy should + probably throw up its hands and emit an error. --> +</head> +<body> + <li> + <p>Identify the member disks with <strong>ssaraid -H -lssa0 -n + pdisk <em>[n]</em> -u -a use=member</strong></p> + <ul> + <li> + <p><strong>Identify the hot spare with ssaraid -H -lssa0 -n + pdisk <em>[n]</em>-u -a use=spare</strong></p> + </li> + </ul> + </li> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-566542.txt b/regression_testing/cases/legacy-expects/case-566542.txt new file mode 100644 index 0000000..c8453b0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-566542.txt @@ -0,0 +1,36 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 4 column 1 - Warning: inserting implicit <body> +line 4 column 39 - Warning: missing </b> before <p> +line 6 column 9 - Warning: inserting implicit <b> +line 6 column 9 - Warning: missing </b> before <li> +line 4 column 1 - Info: missing optional end tag </li> +line 7 column 1 - Warning: inserting implicit <ul> +line 7 column 5 - Warning: inserting implicit <b> +line 7 column 5 - Warning: missing </b> before <p> +line 7 column 8 - Warning: inserting implicit <b> +line 7 column 8 - Warning: nested emphasis <b> +line 7 column 8 - Warning: missing </b> before <p> +line 7 column 8 - Warning: missing </b> before <p> +line 7 column 1 - Warning: missing </ul> +line 6 column 9 - Warning: trimming empty <b> +line 6 column 6 - Warning: trimming empty <p> +line 7 column 5 - Warning: trimming empty <b> +line 8 column 35 - Warning: trimming empty <p> +Info: Document content looks like HTML5 +Tidy found 17 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-586555.html b/regression_testing/cases/legacy-expects/case-586555.html new file mode 100644 index 0000000..450ca7f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-586555.html @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>[ 586555 ] Misplaced backslash caused by newline</title> +</head> +<body> + <p>[ 586555 ] Misplaced backslash caused by newline</p> + <area shape="rect" + coords="236,24,329,39" + href="../../mitarbeiter/index.html" + onmouseout= + "di20('nav_oben_leben_r2_c02','navigation/nav_oben_leben_r2 +_c02.gif');" + onmouseover= + "di20('nav_oben_leben_r2_c02','navigation/nav_oben_leben_r +2_c02_F10.gif');" /> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-586555.txt b/regression_testing/cases/legacy-expects/case-586555.txt new file mode 100644 index 0000000..e69de29 diff --git a/regression_testing/cases/legacy-expects/case-586562.html b/regression_testing/cases/legacy-expects/case-586562.html new file mode 100644 index 0000000..15fe2bd --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-586562.html @@ -0,0 +1,13 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html> +<head> + <meta content="text/html; charset=iso-8859-1" + http-equiv="Content-Type"> + <meta content="Microsoft FrontPage 4.0" + name="GENERATOR"> + <title>[586562] Two Doctypes</title> +</head> +<body> + <p>Two DOCTYPE's!</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-586562.txt b/regression_testing/cases/legacy-expects/case-586562.txt new file mode 100644 index 0000000..9964214 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-586562.txt @@ -0,0 +1,16 @@ +line 5 column 3 - Warning: discarding unexpected <!DOCTYPE> +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-588061.html b/regression_testing/cases/legacy-expects/case-588061.html new file mode 100644 index 0000000..e9c56f9 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-588061.html @@ -0,0 +1,625 @@ +<!DOCTYPE html> +<html> +<head> + <meta name="Keywords" + content= + "rescue,hunting,fishing,camping,adsfg,videogi,productshun,GPS III,Garmin,StreetPilot,gps3,gpsIII,gps2,gps2plus,gpsII+,Street Atlas,StreetAtlas,Osborne,discount GPS,Plainville,Stockton,Victoria,Ellis,Kansas,WaKeeney,Quinter,Russell,LaCrosse,Gorham,gpsIIIPLUS,gps3+,gps III+,gps 3+,DeLorme,GPS III Plus,GPS III Pilot,darrel goheen,daryl goheen,darel goheen,darrell goheen,aviation gps,DeLorme Street Atlas,garmin aviation,metro guides,MetroGuides,GPS 76,eTrex,etrex,Etrex,truck navigation,StreetPilot III,GPSMAP 76,76,StreetPilot 3,eTrex Vista,eTrex Venture,eTrex Legend,semi navigation,over the road navigation,etrex summit,etrex summitt,etrex sumit,fishing hot spots,gps v,gps 5,garmin v,eMap,navigation aids,truck stops,GPSMAP 162,GPSMAP 168 Sounder,gpsmap 162,garvin,garwin,gpsmap 168,gps 162,gps 168,gps 168 sounder,GPSMAP 295,GPS MAP 295,metro gides,colormap streetpilot,ultimate case,color streetpilot,guidance by Garmin,color street pilot,color map,color map streetpilot,color map Street Pilot,MetroGuide,garmin international,garmond,garmund,magellan,gps12,gps 12,gps12xl,gps 12XL,gps12cx,RANS,gps 12CX,gps12CX,color streetpilot,streetpilot color map,garmin gps,Street Pilot,experimental aircraft,EEA,tvnav.com,gps 12 MAP,NavTalk,StreetPilot ColorMap,emap,ColorMap,Street Pilot ColorMap,Street Pilot Color Map,cell phone,cellular phone,cellar phone,cellar,cellular,EMAP,e map,Nav Talk,GPS,G P S,Global Positioning System,globalpositioningsystem,gps outfitters,gps video,cables,gps cables,navigation,mapsource,map source,MapSource,TOPO MapSource,MetroGuide MapSource,GPSMAP 176,GPSMAP 176C,GPSMAP 2006,GPSMAP 2006C,GPSMAP 2010,GPSMAP 2010C,gpsv,metroguide II,metroguide 2,magellan,meridian,blue chart,rino,rhino,rino 120,rino 110,76s,map76s,gpsmap 76s,gpsmap76s,196,gps 196,gps196,gpsmap 196,gps map196,gps map 196"> + <meta name="Description" + content= + "Complete line of Garmin outdoor recreation/marine navigation products."> + <meta name="distribution" + content="Global"> + <title>TVNAV.COM Garmin GPS Home Page</title> + <style type="text/css"> + body { + background-image: url(images/027.jpg); + } + span.c11 {font-size: 51%} + table.c10 {background-color: #FFFFCC} + a.c9 {color: blue} + span.c8 {color: blue; text-decoration: underline} + a.c7 {color: red} + span.c6 {color: black} + div.c5 {text-align: center} + span.c4 {font-size: larger} + span.c3 {font-size: 80%} + span.c2 {color: blue} + span.c1 {color: red} + </style> +</head> +<body> + <div class="c5"> + <h1><strong><span class="c4">TVNAV.COM<br> + <br> + <span class="c1">Toll Free</span> <span class= + "c2">877-625-3546</span> <span class="c3">(US + only)</span></span></strong></h1> + </div><strong><br> + <br></strong> + <div class="c5"> + <strong><img src="images/garminlogo1.jpg" + border="0" + alt="Garmin Logo"><br> + <br> + <br> + <br> + <br> + <br></strong> + <h1><strong>To track your package click <a href= + "mailto:GPS@tvnav.com?subject=Send%C2%A0tracking%C2%A0info.&amp;body=To%20recieve%20your%20tracking%20number%20enter%20the%20name%20the%20package%20was%20sent%20to%20and%20click%20send%20and%20we%20will%20return%20an%20email%20with%20the%20package%20information.%20PLEASE%20do%20not%20call%20asking%20for%20tracking%20numbers.%20Thanks."> + here.</a><br> + <br> + Check the current <a href= + "http://www.garmin.com/whatsNew/currentpromotions/" + target="_blank">REBATE offers</a>!<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> <a href= + "http://www.garmin.com/products/gpsmap76s/index.html" + target="_blank">GPSMAP 76S</a> <span class="c1">IN + STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> <a href= + "http://www.garmin.com/products/rino/" + target="_blank">Rino 110/120 GPS/FRS/GMRS</a> <span class= + "c1">Expected September</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> <a href= + "aviationgps.html" + target="_blank">GPSMAP 196</a> <span class="c1">Coming + Soon!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> City + Navigator Australia....$265.00 <span class="c1">IN + STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> + <span class="c2">BlueChart software</span> <span class="c1">IN + STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> Europe + MapSource: City Navigator, City Select, MetroGuide and Roads & + Recreation <span class="c1">IN STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> We now + have <span class="c2">remanufactured</span> <a href= + "http://www.garmin.com/products/gpsIII/" + target="_blank">GPS III</a> ($150) in stock. 1 year + warranty.</strong>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> <a href= + "http://www.garmin.com/products/gps5/index.html" + target="_blank">GPS V</a> <span class="c1">IN + STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> <a href= + "sp3bean.html">eTrex/eMap/StreetPilot/ColorMap/StreetPilot + III/GPSMAP 295 <span class="c1">Bean Bag</span></a> + <span class="c1">IN STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> <a href= + "http://www.garmin.com/products/spIII/index.html" + target="_blank">StreetPilot III</a> <span class="c1">IN + STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> <a href= + "295case.html">StreetPilot/ColorMap/295 Deluxe Case</a> + <span class="c1">IN STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">NEW!</span> <a href= + "spvisor.html">Sunvisor for StreetPilot, ColorMap, StreetPilot + III and GPSMAP 295....$20.00</a> <span class="c1">IN + STOCK!</span>**<br> + <br> + <span class="c6">**</span><span class="c1">We have <a href= + "rammount.html">R-A-M</a> mounts now in stock for most Garmin + units</span>....Call or <a href= + "mailto:GPS@tvnav.com">email</a> us for prices and + availability.**<br> + <br></h1> + </div><br> + <br> + <br> + <br> + <h3><strong>Total Video became an authorized <a href= + "http://www.garmin.com/cgi-bin/us_dealers?state=KS&amp;city=Hays" + target="_blank">Garmin dealer</a> in January 1999. We sold + 300+ <a href="http://www.garmin.com/aboutGPS/" + target="_blank">GPS</a> units prior to becoming a Garmin + direct dealer, picking them up from various distributors and + individuals to sell. By becoming a Garmin direct dealer we now + are able to sell for less! Total Video prides itself with + <span class="c1">*very quick shipping</span> and a strong + history of customer satisfaction. <a class="c7" + href="comments.html">Comments</a> from customers.<br> + <br> + Want to learn more about GPS? Click <a href= + "http://www.nasm.edu/gps/" + target="_blank">here</a> for further GPS information.<br> + <a name="etrex" + id="etrex"></a><br> + <br></strong></h3> + <h2><strong><a href="http://www.garmin.com/products/rino/" + target="_blank">Rino 110/120 GPS-Integrated FRS/GMRS + Radios</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $169.99/$249.99)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=Rino%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">Coming Soon!</span><br> + <br> + <a href="http://www.garmin.com/products/emap/" + target="_blank">eMap</a>....$170.00 <span class="c1">IN + STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/emap/" + target="_blank">eMap</a> with 8MB memory cartridge....$200.00 + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/emap/" + target="_blank">eMap</a> with 8MB memory cartridge and USA + MetroGuide MapSource....$215.00 <span class="c1">IN + STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/etrex/" + target="_blank">eTrex</a>....$115.00 <span class="c1">IN + STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/etrexsummit/" + target="_blank">eTrex Summit</a>....$210.00 <span class= + "c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/etrexCamo/index.html" + target="_blank">eTrex Camo</a>....$125.00 <span class="c1">IN + STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/etrexVenture/index.html" + target="_blank">eTrex Venture</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $169.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=eTrex%C2%A0Venture%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/etrexLegend/index.html" + target="_blank">eTrex Legend</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $249.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=eTrex%C2%A0Legend%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/etrexVista/index.html" + target="_blank">eTrex Vista</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $349.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=eTrex%C2%A0Vista%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gpsmap76s/index.html" + target="_blank">GPSMAP 76S</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $449.99)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=MAP%C2%A076S%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gpsmap76/index.html" + target="_blank">GPSMAP 76</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $349.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=MAP%C2%A076%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gps76/index.html" + target="_blank">GPS 76</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $219.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=76%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gpsmap176/" + target="_blank">GPSMAP 176</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $499.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=176/176C%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gpsmap176C/" + target="_blank">GPSMAP 176C</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $599.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=176/176C%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gpsmap2006/" + target="_blank">GPSMAP 2006</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $1199.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=2006/2006C%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gpsmap2006/" + target="_blank">GPSMAP 2006C</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $1999.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=2006/2006C%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gpsmap2010/" + target="_blank">GPSMAP 2010C</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $2499.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=2010/2010C%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a name="gps12map" + id="gps12map"></a> <a href= + "http://www.garmin.com/products/gps12/" + target="_blank">GPS 12</a>....$140.00 <span class="c1">IN + STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gps12xl/" + target="_blank">GPS 12XL</a> with <a href= + "http://www2.garmin.com/accessory.asp?sku=010-10117-01" + target="_blank">carrying case</a>....$190.00 <span class= + "c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gps12map/" + target="_blank">GPS 12 MAP</a> with <a href= + "http://www2.garmin.com/accessory.asp?sku=010-10141-00" + target="_blank">PC interface cable</a>....$280.00 <span class= + "c1">IN STOCK!</span><br> + <a name="europerr" + id="europerr"></a><br> + <a href="http://www.garmin.com/products/gpsIIp/" + target="_blank">GPS II Plus</a>....$190.00 <span class="c1">IN + STOCK!</span><br> + <br> + <a name="GPS III PLUS"></a> <a href= + "http://www.garmin.com/products/gpsIIIp/" + target="_blank">GPS III Plus</a> with <a href= + "http://www2.garmin.com/accessory.asp?sku=010-10141-00" + target="_blank">PC interface cable</a>....$280.00 <span class= + "c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gps5/index.html" + target="_blank">GPS V Deluxe w/*new* City Select with all + unlocks</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $499.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=V%C2%A0Deluxe%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>U.S. Roads and Recreation + MapSource....$80.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>WorldMap MapSource....$80.00 + <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>TOPO MapSource....$85.00 + <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>Fishing Hot Spots MapSource + (includes one coverage area unlock)....$85.00 <span class= + "c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>U.S. Waterways & Lights + MapSource....$60.00 <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/streetPilot/" + target="_blank">StreetPilot</a> with dash mount, cigarette + power cable and PC interface cable....$385.00 <span class= + "c1">IN STOCK!</span><br> + <a name="ukmg" + id="ukmg"></a><br> + <a href="http://www.garmin.com/products/colorMap/" + target="_blank">StreetPilot ColorMap</a> with dash mount, + cigarette power cable and PC interface cable....$540.00 + <span class="c1">IN STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/spIII/index.html" + target="_blank">StreetPilot III Deluxe w/128MB, *new* City + Navigator w/all unlocks and portable bean bag + mount</a>....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP $999.00)</a> Call or <a href= + "mailto:GPS@tvnav.com?subject=StreetPilot%20III%C2%A0Deluxe%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current price....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>MetroGuide USA + MapSource....$90.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>MetroGuide USA MapSource + w/Blank 8MB Memory Cartridge....$110.00 <span class="c1">IN + STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>MetroGuide USA MapSource + w/Blank 16MB Memory Cartridge....$115.00 <span class="c1">IN + STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>MetroGuide Canada with Roads & + Recreation....$80.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>City Navigator + Europe....$195.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>City Navigator Europe "All" + unlock....$215.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>City Select Europe....$115.00 + <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>City Select Europe "All" + unlock....$115.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>MetroGuide Europe....$115.00 + <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>Roads & Recreation + Europe....$85.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>City Navigator + Australia....$265.00 <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>BlueChart w/one coverage + area....<a href="mappricing.html" + target="_blank" + name="MAP details">(MAP + Americas-$139.00/Atlantic-$229.00/Pacific-$189.00)</a> Call or + <a href= + "mailto:GPS@tvnav.com?subject=BlueChart%C2%A0price&amp;body=Just%20click%20send%20and%20we%20will%20return%20an%20email%20with%20our%20lowest%20price.%20Thanks."> + email</a> us for our current prices....too low to advertise! + <span class="c1">IN STOCK!</span><br> + <br> + <a class="c7" + href="softwarereturn.html">*</a>BlueChart Single Region + Unlock....Americas-$85.00/Atlantic-$145.00/Pacific-$105.00 + <span class="c1">IN STOCK!</span><br> + <br> + Blank 8MB Memory Cartridge....$45.00 <span class="c1">IN + STOCK!</span><br> + <br> + Blank 16MB Memory Cartridge....$55.00 <span class="c1">IN + STOCK!</span><br> + <br> + Blank 32MB Memory Cartridge....$70.00 <span class="c1">IN + STOCK!</span><br> + <br> + Blank 64MB Memory Cartridge....$105.00 <span class="c1">IN + STOCK!</span><br> + <br> + Blank 128MB Memory Cartridge....$155.00 <span class="c1">IN + STOCK!</span><br> + <br> + USB Data Card Programmer....$70.00 <span class="c1">IN + STOCK!</span><br> + <br> + <span class="c8">PC Download Kit</span> (includes <a href= + "images/miscgps/acdcconverter.jpg">AC/DC adapter</a> and 12V + cigarette power/PC interface cable (for round, 4 pin connectors + only)....$45.00<br> + <br> + <span class="c8">eMap/eTrex PC Download Kit</span> (includes + <a href="images/miscgps/acdcconverter.jpg">AC/DC adapter</a> and + cigarette power/PC interface cable....$50.00<br> + <br> + <a href="http://www.garmin.com/products/gpsmap162/" + target="_blank">GPSMAP 162</a>....$355.00 (w/internal + antenna)/$375.00 (w/external antenna) <span class="c1">IN + STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/gpsmap168s/" + target="_blank">GPSMAP 168 Sounder</a>....$495.00 (w/internal + antenna)/$515.00 (w/external antenna) <span class="c1">IN + STOCK!</span><br> + <br> + <a href="http://www.garmin.com/products/navTalk/" + target="_blank">NavTalk Cellular phone/GPS (ver. + 2.16)</a>....$375.00<br> + <br> + <a href="http://www.garmin.com/products/gbr21/" + target="_blank">GBR 21</a> and <a href= + "http://www.garmin.com/products/gbr23/" + target="_blank">GBR 23</a> Differential + Receivers....$180.00<br> + <br> + <a href="gpsvideos.html">Videos available on many of the Garmin + products as well as general GPS usage videos.</a><br> + <br> + <a href="catalog.html">Garmin GPS and accessories + catalog</a>....$2.00 (for s/h in US. Refundable/free with + order)<br> + <br> + <a href="http://www.garmin.com/support/userManual.html" + target="_blank">Online GARMIN + manuals.</a></strong></h2><strong><br> + <span class="c3">Stock status subject to change. We try to update + the stock status continuously but we sometimes don't get it + changed immediately. Check with us for current stock + status.</span><br> + <br></strong> + <div class="c5"> + <h1><strong><a href="returnpolicy.html">Our Return + Policy</a><br> + <br> + <a class="c9" + href="softwarereturn.html">Software Return Policy</a><br> + <br> + <a class="c7" + href="miscgpsitems.html">Accessories and Miscellaneous + Items</a><br> + <br> + <a class="c7" + href="aviationgps.html">AVIATION GPS</a></strong></h1> + </div><br> + <h3><span class="c1">We also sell <a href= + "miscgpsitems.html">Garmin GPS accessories</a> such as mounts, + cables, cases, etc.<br> + <br> + We sell everything in the Garmin <a href= + "http://www.garmin.com/products/index.html" + target="_blank">outdoor recreation, marine and cartography + line.</a> <a href="mailto:GPS@tvnav.com">Email</a> us for + prices on any items you don't see listed above.</span><br> + <br></h3> + <div class="c5"> + <h3><img src="images/upslogo.gif" + width="105" + height="62" + border="0"><br> + We charge a flat $10.00 shipping and handling charge (via UPS + ground) per GPS order (not per item) in the 48/US.<br> + <br> + $5.00 shipping and handling for accessories in the 48/US.<br> + <br> + An additional $10.00 charge for COD orders (COD s/h must be + credit card secured).<br> + <br> + Faster shipping available.<br> + <br> + *<span class="c1">3 day select (usually arrives in 2 + days!)--addtl. $3.00.</span><br> + *2nd day air--addtl. $5.00.<br> + *Next day air saver--addtl. $20.00.<br> + *Next day air-Saturday delivery--addtl. $35.00<br> + *<span class="c1">More shipping may be required on larger + packages for 3 day, 2nd day and next day air + packages.</span><br> + <br> + Click <a href= + "http://www.ups.com/using/services/transit/timetran.html" + target="_blank">here</a> to get UPS Ground delivery times. + Our zip code is 67601 (Hays, Kansas).<br> + <br> + <img src="images/fedexlogo.jpg" + width="129" + height="41" + border="1" + align="middle" + hspace="5"><span class="c1">Add $10 to UPS charges for + FedEx shipping. (minimum FedEx s/h is $18)</span><br> + <br> + <img src="images/maillogo.jpg" + width="168" + height="33" + border="1" + align="middle" + hspace="5"><span class="c1">$20 for Priority Mail s/h on + GPS units and $15 for accessories in the US.</span><br> + <br> + <a href= + "mailto:GPS@tvnav.com?subject=Out%C2%A0of%C2%A048/US%C2%A0sales%C2%A0info."> + Email</a> us for requirements/costs for out of 48/US sales or + click <a href="intlshipping.html">here</a>.<br> + <br> + <br> + <br></h3> + </div> + <h1><a class="c7" + href="orderinfo.html">ORDERING INFORMATION</a></h1><br> + <br> + <span class="c2">* Most orders received by 2:00 p.m. central time + for in stock items will ship the same day (business days + only).</span><br> + <a name="paypal" + id="paypal"></a><br> + All orders in Kansas must pay a 6.8% sales tax.<br> + <br> + <span class="c1">We accept payment by + Discover/MasterCard/Visa/Pre-pay (orders paid by personal/company + check orders held for 10 business days for check clearing. + Cashier checks/money orders ship same day.). COD orders welcome + (cashiers check or money order).</span> + <div class="c5"> + <img src="images/ccbanner.jpg" + border="2" + alt= + "rescue,hunting,fishing,camping,adsfg,videogi,productshun,GPS III,Garmin,StreetPilot,gps3,gpsIII,gps2,gps2plus,gpsII+,Street Atlas,StreetAtlas,Osborne,Plainville,Stockton,Victoria,Ellis,Kansas,WaKeeney,Quinter,Russell,LaCrosse,Gorham,gpsIIIPLUS,gps3+,gps III+,gps 3+,DeLorme,GPS III Plus,GPS III Pilot,aviation gps,DeLorme Street Atlas,garmin aviation,metro guides,MetroGuides,truck navigation,semi navigation,over the road navigation,navigation aids,truck stops,metro gides,colormap streetpilot,color streetpilot,guidance by Garmin,color street pilot,color map,color map streetpilot,color map Street Pilot,MetroGuide,garmin international,garmond,garmund,magellan,gps12,gps 12,gps12xl,gps 12XL,gps12cx,RANS,gps 12CX,gps12CX,color streetpilot,streetpilot color map,garmin gps,Street Pilot,experimental aircraft,EEA,tvnav.com,gps 12 MAP,NavTalk,StreetPilot ColorMap,emap,ColorMap,Street Pilot ColorMap,Street Pilot Color Map,cell phone,cellular phone,cellar phone,cellar,cellular,EMAP,e map,Nav Talk,GPS,G P S,Global Positioning System,globalpositioningsystem,gps outfitters,gps video,cables,gps cables,navigation,mapsource,map source,MapSource,TOPO MapSource,MetroGuide MapSource"><br> + + <br> + <a href="https://secure.paypal.com/refer/pal=GPS%40tvnav.com" + target="_blank"><img src="images/paypal1.jpg" + width="472" + height="169" + border="2"></a><br> + <br> + <a href="mailto:GPS@tvnav.com"><img src= + "http://www.tvnav.com/email9.gif" + alt="send email"></a><br> + <br> + <h1>Toll Free Order Line (877) 625-3546 (US only)<br> + <br> + FAX (413) 383-8800<br> + <br> + Information /International Order Line (785) 625-3546</h1><br> + <h2><a href="http://www.tvnav.com" + alt="">Home Page</a></h2><br> + <form method="get" + action="http://groups.yahoo.com/subscribe/GarminGPS"> + <table class="c10" + cellspacing="0" + cellpadding="2" + border="0"> + <tr> + <td colspan="2" + align="center"><strong>Subscribe to the TVNAV.COM + GarminGPS mail list</strong></td> + </tr> + <tr> + <td><input type="text" + name="user" + value="enter email address" + size="20"></td> + <td><input type="image" + border="0" + alt="Click here to join GarminGPS" + name="Click here to join GarminGPS" + src= + "http://groups.yahoo.com/img/ui/join.gif"></td> + </tr> + <tr align="center"> + <td colspan="2"> + Powered by <a href= + "http://groups.yahoo.com/">groups.yahoo.com</a> + </td> + </tr> + </table> + </form><br> + <br> + <a href="http://www.beseen.com/hc-index.html"><img src= + "http://pluto.beseen.com/hit.counter?account=GPS@tvnav.com-gpshome&amp;font=RedOnBlack&amp;base=423695" + border="0"></a><br> + <span class="c11">Counter reset 2/1/99</span><br> + <br> + This site last modified 7/25/02 + </div><br> + <br> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-588061.txt b/regression_testing/cases/legacy-expects/case-588061.txt new file mode 100644 index 0000000..b46b55d --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-588061.txt @@ -0,0 +1,199 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 14 column 9 - Warning: missing </strong> before <h1> +line 14 column 21 - Warning: inserting implicit <strong> +line 18 column 1 - Warning: inserting implicit <strong> +line 18 column 1 - Warning: missing </strong> before <center> +line 20 column 9 - Warning: inserting implicit <strong> +line 20 column 9 - Info: value for attribute "border" missing quote marks +line 20 column 9 - Warning: missing </strong> before <h1> +line 22 column 5 - Warning: inserting implicit <strong> +line 25 column 96 - Warning: unescaped & or unknown entity "&body" +line 22 column 5 - Warning: replacing unexpected font with </font> +line 66 column 104 - Warning: unescaped & or unknown entity "&city" +line 66 column 5 - Warning: missing </strong> before <h2> +line 66 column 1 - Warning: missing </h3> before <h2> +line 73 column 5 - Warning: inserting implicit <strong> +line 74 column 263 - Warning: unescaped & or unknown entity "&body" +line 102 column 257 - Warning: unescaped & or unknown entity "&body" +line 106 column 254 - Warning: unescaped & or unknown entity "&body" +line 110 column 251 - Warning: unescaped & or unknown entity "&body" +line 114 column 245 - Warning: unescaped & or unknown entity "&body" +line 118 column 242 - Warning: unescaped & or unknown entity "&body" +line 122 column 227 - Warning: unescaped & or unknown entity "&body" +line 126 column 231 - Warning: unescaped & or unknown entity "&body" +line 130 column 233 - Warning: unescaped & or unknown entity "&body" +line 134 column 236 - Warning: unescaped & or unknown entity "&body" +line 138 column 237 - Warning: unescaped & or unknown entity "&body" +line 142 column 237 - Warning: unescaped & or unknown entity "&body" +line 168 column 280 - Warning: unescaped & or unknown entity "&body" +line 196 column 153 - Warning: discarding unexpected </a> +line 200 column 339 - Warning: unescaped & or unknown entity "&body" +line 248 column 281 - Warning: unescaped & or unknown entity "&body" +line 300 column 177 - Warning: discarding unexpected </a> +line 314 column 1 - Warning: inserting implicit <strong> +line 314 column 1 - Warning: missing </strong> before <center> +line 318 column 9 - Warning: inserting implicit <strong> +line 318 column 9 - Warning: missing </strong> before <h1> +line 318 column 13 - Warning: inserting implicit <strong> +line 328 column 1 - Warning: missing </a> +line 328 column 70 - Warning: discarding unexpected </a> +line 339 column 1 - Warning: <center> isn't allowed in <h3> elements +line 332 column 1 - Info: <h3> previously mentioned +line 339 column 9 - Info: value for attribute "width" missing quote marks +line 339 column 9 - Info: value for attribute "height" missing quote marks +line 339 column 9 - Info: value for attribute "border" missing quote marks +line 339 column 68 - Warning: discarding unexpected </center> +line 341 column 1 - Info: value for attribute "width" missing quote marks +line 341 column 1 - Info: value for attribute "height" missing quote marks +line 341 column 1 - Info: value for attribute "border" missing quote marks +line 341 column 1 - Info: value for attribute "hspace" missing quote marks +line 345 column 1 - Info: value for attribute "width" missing quote marks +line 345 column 1 - Info: value for attribute "height" missing quote marks +line 345 column 1 - Info: value for attribute "border" missing quote marks +line 345 column 1 - Info: value for attribute "hspace" missing quote marks +line 353 column 1 - Warning: <center> isn't allowed in <h3> elements +line 339 column 1 - Info: <h3> previously mentioned +line 353 column 1 - Warning: missing </h3> before <h1> +line 353 column 92 - Warning: discarding unexpected </center> +line 363 column 268 - Warning: discarding unexpected </h3> +line 367 column 9 - Info: value for attribute "border" missing quote marks +line 371 column 79 - Info: value for attribute "width" missing quote marks +line 371 column 79 - Info: value for attribute "height" missing quote marks +line 371 column 79 - Info: value for attribute "border" missing quote marks +line 383 column 5 - Warning: missing </a> +line 383 column 57 - Warning: discarding unexpected </strong> +line 383 column 66 - Warning: discarding unexpected </a> +line 387 column 1 - Info: value for attribute "method" missing quote marks +line 388 column 1 - Info: value for attribute "cellspacing" missing quote marks +line 388 column 1 - Info: value for attribute "cellpadding" missing quote marks +line 388 column 1 - Info: value for attribute "border" missing quote marks +line 388 column 1 - Info: value for attribute "bgcolor" missing quote marks +line 390 column 5 - Info: value for attribute "colspan" missing quote marks +line 390 column 5 - Info: value for attribute "align" missing quote marks +line 396 column 7 - Info: value for attribute "type" missing quote marks +line 396 column 7 - Info: value for attribute "size" missing quote marks +line 399 column 7 - Info: value for attribute "type" missing quote marks +line 399 column 7 - Info: value for attribute "border" missing quote marks +line 414 column 76 - Warning: unescaped & or unknown entity "&font" +line 414 column 92 - Warning: unescaped & or unknown entity "&base" +line 414 column 1 - Info: value for attribute "border" missing quote marks +line 424 column 1 - Warning: discarding unexpected </strong> +line 25 column 29 - Warning: <a> escaping malformed URI reference +line 25 column 29 - Warning: <a> illegal characters found in URI +line 74 column 210 - Warning: <a> escaping malformed URI reference +line 74 column 210 - Warning: <a> illegal characters found in URI +line 102 column 103 - Warning: <a> anchor "MAP details" already defined +line 102 column 190 - Warning: <a> escaping malformed URI reference +line 102 column 190 - Warning: <a> illegal characters found in URI +line 106 column 101 - Warning: <a> anchor "MAP details" already defined +line 106 column 188 - Warning: <a> escaping malformed URI reference +line 106 column 188 - Warning: <a> illegal characters found in URI +line 110 column 99 - Warning: <a> anchor "MAP details" already defined +line 110 column 186 - Warning: <a> escaping malformed URI reference +line 110 column 186 - Warning: <a> illegal characters found in URI +line 114 column 97 - Warning: <a> anchor "MAP details" already defined +line 114 column 184 - Warning: <a> escaping malformed URI reference +line 114 column 184 - Warning: <a> illegal characters found in URI +line 118 column 95 - Warning: <a> anchor "MAP details" already defined +line 118 column 182 - Warning: <a> escaping malformed URI reference +line 118 column 182 - Warning: <a> illegal characters found in URI +line 122 column 89 - Warning: <a> anchor "MAP details" already defined +line 122 column 176 - Warning: <a> escaping malformed URI reference +line 122 column 176 - Warning: <a> illegal characters found in URI +line 126 column 87 - Warning: <a> anchor "MAP details" already defined +line 126 column 174 - Warning: <a> escaping malformed URI reference +line 126 column 174 - Warning: <a> illegal characters found in URI +line 130 column 89 - Warning: <a> anchor "MAP details" already defined +line 130 column 176 - Warning: <a> escaping malformed URI reference +line 130 column 176 - Warning: <a> illegal characters found in URI +line 134 column 89 - Warning: <a> anchor "MAP details" already defined +line 134 column 177 - Warning: <a> escaping malformed URI reference +line 134 column 177 - Warning: <a> illegal characters found in URI +line 138 column 90 - Warning: <a> anchor "MAP details" already defined +line 138 column 178 - Warning: <a> escaping malformed URI reference +line 138 column 178 - Warning: <a> illegal characters found in URI +line 142 column 90 - Warning: <a> anchor "MAP details" already defined +line 142 column 178 - Warning: <a> escaping malformed URI reference +line 142 column 178 - Warning: <a> illegal characters found in URI +line 168 column 131 - Warning: <a> anchor "MAP details" already defined +line 168 column 218 - Warning: <a> escaping malformed URI reference +line 168 column 218 - Warning: <a> illegal characters found in URI +line 200 column 176 - Warning: <a> anchor "MAP details" already defined +line 200 column 263 - Warning: <a> escaping malformed URI reference +line 200 column 263 - Warning: <a> illegal characters found in URI +line 248 column 94 - Warning: <a> anchor "MAP details" already defined +line 248 column 223 - Warning: <a> escaping malformed URI reference +line 248 column 223 - Warning: <a> illegal characters found in URI +line 339 column 9 - Warning: <img> lacks "alt" attribute +line 341 column 1 - Warning: <img> lacks "alt" attribute +line 345 column 1 - Warning: <img> lacks "alt" attribute +line 349 column 1 - Warning: <a> escaping malformed URI reference +line 371 column 79 - Warning: <img> lacks "alt" attribute +line 414 column 1 - Warning: <img> lacks "alt" attribute +line 14 column 9 - Warning: trimming empty <strong> +line 296 column 120 - Warning: trimming empty <font> +line 300 column 193 - Warning: trimming empty <font> +line 318 column 9 - Warning: trimming empty <strong> +line 353 column 1 - Warning: trimming empty <h3> +line 353 column 1 - Warning: trimming empty <center> +line 74 column 115 - Warning: <a> cannot copy name attribute to id +line 102 column 103 - Warning: <a> cannot copy name attribute to id +line 106 column 101 - Warning: <a> cannot copy name attribute to id +line 110 column 99 - Warning: <a> cannot copy name attribute to id +line 114 column 97 - Warning: <a> cannot copy name attribute to id +line 118 column 95 - Warning: <a> cannot copy name attribute to id +line 122 column 89 - Warning: <a> cannot copy name attribute to id +line 126 column 87 - Warning: <a> cannot copy name attribute to id +line 130 column 89 - Warning: <a> cannot copy name attribute to id +line 134 column 89 - Warning: <a> cannot copy name attribute to id +line 138 column 90 - Warning: <a> cannot copy name attribute to id +line 142 column 90 - Warning: <a> cannot copy name attribute to id +line 163 column 1 - Warning: <a> cannot copy name attribute to id +line 168 column 131 - Warning: <a> cannot copy name attribute to id +line 200 column 176 - Warning: <a> cannot copy name attribute to id +line 248 column 94 - Warning: <a> cannot copy name attribute to id +line 341 column 1 - Warning: <img> attribute "align" not allowed for HTML5 +line 345 column 1 - Warning: <img> attribute "align" not allowed for HTML5 +line 390 column 5 - Warning: <td> attribute "align" not allowed for HTML5 +line 403 column 3 - Warning: <tr> attribute "align" not allowed for HTML5 +line 383 column 5 - Warning: <a> proprietary attribute "alt" +line 399 column 7 - Warning: <input> proprietary attribute "border" +Info: Document content looks like HTML5 +Tidy found 130 warnings and 0 errors! + +URIs must be properly escaped, they must not contain unescaped +characters below U+0021 including the space character and not +above U+007E. Tidy escapes the URI for you as recommended by +HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents +use another algorithm to escape such URIs and some server-sided +scripts depend on that. If you want to depend on that, you must +escape the URI on your own. For more information please refer to +http://www.w3.org/International/O-URL-and-ident.html + +The alt attribute should be used to give a short description +of an image; longer descriptions should be given with the +longdesc attribute which takes a URL linked to the description. +These measures are needed for people using non-graphical browsers. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL. +You are recommended to use CSS to specify the font and +properties such as its size and color. This will reduce +the size of HTML files and make them easier to maintain +compared with using <FONT> elements. + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-590716.html b/regression_testing/cases/legacy-expects/case-590716.html new file mode 100644 index 0000000..e9b386b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-590716.html @@ -0,0 +1,547 @@ +<!DOCTYPE html> +<html> +<head> +<title>[ #590716 ] Preserve Entities</title> +</head> +<body> +<p> +<!--=====================================================================--> + +<!-- These are the standard HTML character entities in the order they --> + +<!-- are listed in section 24 of the HTML 4.01 spec. --> + +<!--=====================================================================--> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- Start of first of two groups of character entities < 256. --> + <!-- ?id=ID&nbsp;=XX --> + <a href="?id=ID&nbsp;=XX">id=ID&nbsp;=XX</a><br> +<!-- ?id=ID&iexcl;=XX --> + <a href="?id=ID&iexcl;=XX">id=ID&iexcl;=XX</a><br> +<!-- ?id=ID&cent;=XX --> + <a href="?id=ID&cent;=XX">id=ID&cent;=XX</a><br> +<!-- ?id=ID&pound;=XX --> + <a href="?id=ID&pound;=XX">id=ID&pound;=XX</a><br> +<!-- ?id=ID&curren;=XX --> + <a href="?id=ID&curren;=XX">id=ID&curren;=XX</a><br> +<!-- ?id=ID&yen;=XX --> + <a href="?id=ID&yen;=XX">id=ID&yen;=XX</a><br> +<!-- ?id=ID&brvbar;=XX --> + <a href="?id=ID&brvbar;=XX">id=ID&brvbar;=XX</a><br> +<!-- ?id=ID&sect;=XX --> + <a href="?id=ID&sect;=XX">id=ID&sect;=XX</a><br> +<!-- ?id=ID&uml;=XX --> + <a href="?id=ID&uml;=XX">id=ID&uml;=XX</a><br> +<!-- ?id=ID&copy;=XX --> + <a href="?id=ID&copy;=XX">id=ID&copy;=XX</a><br> +<!-- ?id=ID&ordf;=XX --> + <a href="?id=ID&ordf;=XX">id=ID&ordf;=XX</a><br> +<!-- ?id=ID&laquo;=XX --> + <a href="?id=ID&laquo;=XX">id=ID&laquo;=XX</a><br> +<!-- ?id=ID&not;=XX --> + <a href="?id=ID&not;=XX">id=ID&not;=XX</a><br> +<!-- ?id=ID&shy;=XX --> + <a href="?id=ID&shy;=XX">id=ID&shy;=XX</a><br> +<!-- ?id=ID&reg;=XX --> + <a href="?id=ID&reg;=XX">id=ID&reg;=XX</a><br> +<!-- ?id=ID&macr;=XX --> + <a href="?id=ID&macr;=XX">id=ID&macr;=XX</a><br> +<!-- ?id=ID&deg;=XX --> + <a href="?id=ID&deg;=XX">id=ID&deg;=XX</a><br> +<!-- ?id=ID&plusmn;=XX --> + <a href="?id=ID&plusmn;=XX">id=ID&plusmn;=XX</a><br> +<!-- ?id=ID&sup;2=XX --> + <a href="?id=ID&sup2;=XX">id=ID&sup2;=XX</a><br> +<!-- ?id=ID&sup;3=XX --> + <a href="?id=ID&sup3;=XX">id=ID&sup3;=XX</a><br> +<!-- ?id=ID&acute;=XX --> + <a href="?id=ID&acute;=XX">id=ID&acute;=XX</a><br> +<!-- ?id=ID&micro;=XX --> + <a href="?id=ID&micro;=XX">id=ID&micro;=XX</a><br> +<!-- ?id=ID&para;=XX --> + <a href="?id=ID&para;=XX">id=ID&para;=XX</a><br> +<!-- ?id=ID&middot;=XX --> + <a href="?id=ID&middot;=XX">id=ID&middot;=XX</a><br> +<!-- ?id=ID&cedil;=XX --> + <a href="?id=ID&cedil;=XX">id=ID&cedil;=XX</a><br> +<!-- ?id=ID&sup;1=XX --> + <a href="?id=ID&sup1;=XX">id=ID&sup1;=XX</a><br> +<!-- ?id=ID&ordm;=XX --> + <a href="?id=ID&ordm;=XX">id=ID&ordm;=XX</a><br> +<!-- ?id=ID&raquo;=XX --> + <a href="?id=ID&raquo;=XX">id=ID&raquo;=XX</a><br> +<!-- ?id=ID&frac;14=XX --> + <a href="?id=ID&frac14;=XX">id=ID&frac14;=XX</a><br> +<!-- ?id=ID&frac;12=XX --> + <a href="?id=ID&frac12;=XX">id=ID&frac12;=XX</a><br> +<!-- ?id=ID&frac;34=XX --> + <a href="?id=ID&frac34;=XX">id=ID&frac34;=XX</a><br> +<!-- ?id=ID&iquest;=XX --> + <a href="?id=ID&iquest;=XX">id=ID&iquest;=XX</a><br> +<!-- ?id=ID&Agrave;=XX --> + <a href="?id=ID&Agrave;=XX">id=ID&Agrave;=XX</a><br> +<!-- ?id=ID&Aacute;=XX --> + <a href="?id=ID&Aacute;=XX">id=ID&Aacute;=XX</a><br> +<!-- ?id=ID&Acirc;=XX --> + <a href="?id=ID&Acirc;=XX">id=ID&Acirc;=XX</a><br> +<!-- ?id=ID&Atilde;=XX --> + <a href="?id=ID&Atilde;=XX">id=ID&Atilde;=XX</a><br> +<!-- ?id=ID&Auml;=XX --> + <a href="?id=ID&Auml;=XX">id=ID&Auml;=XX</a><br> +<!-- ?id=ID&Aring;=XX --> + <a href="?id=ID&Aring;=XX">id=ID&Aring;=XX</a><br> +<!-- ?id=ID&AElig;=XX --> + <a href="?id=ID&AElig;=XX">id=ID&AElig;=XX</a><br> +<!-- ?id=ID&Ccedil;=XX --> + <a href="?id=ID&Ccedil;=XX">id=ID&Ccedil;=XX</a><br> +<!-- ?id=ID&Egrave;=XX --> + <a href="?id=ID&Egrave;=XX">id=ID&Egrave;=XX</a><br> +<!-- ?id=ID&Eacute;=XX --> + <a href="?id=ID&Eacute;=XX">id=ID&Eacute;=XX</a><br> +<!-- ?id=ID&Ecirc;=XX --> + <a href="?id=ID&Ecirc;=XX">id=ID&Ecirc;=XX</a><br> +<!-- ?id=ID&Euml;=XX --> + <a href="?id=ID&Euml;=XX">id=ID&Euml;=XX</a><br> +<!-- ?id=ID&Igrave;=XX --> + <a href="?id=ID&Igrave;=XX">id=ID&Igrave;=XX</a><br> +<!-- ?id=ID&Iacute;=XX --> + <a href="?id=ID&Iacute;=XX">id=ID&Iacute;=XX</a><br> +<!-- ?id=ID&Icirc;=XX --> + <a href="?id=ID&Icirc;=XX">id=ID&Icirc;=XX</a><br> +<!-- ?id=ID&Iuml;=XX --> + <a href="?id=ID&Iuml;=XX">id=ID&Iuml;=XX</a><br> +<!-- ?id=ID&ETH;=XX --> + <a href="?id=ID&ETH;=XX">id=ID&ETH;=XX</a><br> +<!-- ?id=ID&Ntilde;=XX --> + <a href="?id=ID&Ntilde;=XX">id=ID&Ntilde;=XX</a><br> +<!-- ?id=ID&Ograve;=XX --> + <a href="?id=ID&Ograve;=XX">id=ID&Ograve;=XX</a><br> +<!-- ?id=ID&Oacute;=XX --> + <a href="?id=ID&Oacute;=XX">id=ID&Oacute;=XX</a><br> +<!-- ?id=ID&Ocirc;=XX --> + <a href="?id=ID&Ocirc;=XX">id=ID&Ocirc;=XX</a><br> +<!-- ?id=ID&Otilde;=XX --> + <a href="?id=ID&Otilde;=XX">id=ID&Otilde;=XX</a><br> +<!-- ?id=ID&Ouml;=XX --> + <a href="?id=ID&Ouml;=XX">id=ID&Ouml;=XX</a><br> +<!-- ?id=ID&times;=XX --> + <a href="?id=ID&times;=XX">id=ID&times;=XX</a><br> +<!-- ?id=ID&Oslash;=XX --> + <a href="?id=ID&Oslash;=XX">id=ID&Oslash;=XX</a><br> +<!-- ?id=ID&Ugrave;=XX --> + <a href="?id=ID&Ugrave;=XX">id=ID&Ugrave;=XX</a><br> +<!-- ?id=ID&Uacute;=XX --> + <a href="?id=ID&Uacute;=XX">id=ID&Uacute;=XX</a><br> +<!-- ?id=ID&Ucirc;=XX --> + <a href="?id=ID&Ucirc;=XX">id=ID&Ucirc;=XX</a><br> +<!-- ?id=ID&Uuml;=XX --> + <a href="?id=ID&Uuml;=XX">id=ID&Uuml;=XX</a><br> +<!-- ?id=ID&Yacute;=XX --> + <a href="?id=ID&Yacute;=XX">id=ID&Yacute;=XX</a><br> +<!-- ?id=ID&THORN;=XX --> + <a href="?id=ID&THORN;=XX">id=ID&THORN;=XX</a><br> +<!-- ?id=ID&szlig;=XX --> + <a href="?id=ID&szlig;=XX">id=ID&szlig;=XX</a><br> +<!-- ?id=ID&agrave;=XX --> + <a href="?id=ID&agrave;=XX">id=ID&agrave;=XX</a><br> +<!-- ?id=ID&aacute;=XX --> + <a href="?id=ID&aacute;=XX">id=ID&aacute;=XX</a><br> +<!-- ?id=ID&acirc;=XX --> + <a href="?id=ID&acirc;=XX">id=ID&acirc;=XX</a><br> +<!-- ?id=ID&atilde;=XX --> + <a href="?id=ID&atilde;=XX">id=ID&atilde;=XX</a><br> +<!-- ?id=ID&auml;=XX --> + <a href="?id=ID&auml;=XX">id=ID&auml;=XX</a><br> +<!-- ?id=ID&aring;=XX --> + <a href="?id=ID&aring;=XX">id=ID&aring;=XX</a><br> +<!-- ?id=ID&aelig;=XX --> + <a href="?id=ID&aelig;=XX">id=ID&aelig;=XX</a><br> +<!-- ?id=ID&ccedil;=XX --> + <a href="?id=ID&ccedil;=XX">id=ID&ccedil;=XX</a><br> +<!-- ?id=ID&egrave;=XX --> + <a href="?id=ID&egrave;=XX">id=ID&egrave;=XX</a><br> +<!-- ?id=ID&eacute;=XX --> + <a href="?id=ID&eacute;=XX">id=ID&eacute;=XX</a><br> +<!-- ?id=ID&ecirc;=XX --> + <a href="?id=ID&ecirc;=XX">id=ID&ecirc;=XX</a><br> +<!-- ?id=ID&euml;=XX --> + <a href="?id=ID&euml;=XX">id=ID&euml;=XX</a><br> +<!-- ?id=ID&igrave;=XX --> + <a href="?id=ID&igrave;=XX">id=ID&igrave;=XX</a><br> +<!-- ?id=ID&iacute;=XX --> + <a href="?id=ID&iacute;=XX">id=ID&iacute;=XX</a><br> +<!-- ?id=ID&icirc;=XX --> + <a href="?id=ID&icirc;=XX">id=ID&icirc;=XX</a><br> +<!-- ?id=ID&iuml;=XX --> + <a href="?id=ID&iuml;=XX">id=ID&iuml;=XX</a><br> +<!-- ?id=ID&eth;=XX --> + <a href="?id=ID&eth;=XX">id=ID&eth;=XX</a><br> +<!-- ?id=ID&ntilde;=XX --> + <a href="?id=ID&ntilde;=XX">id=ID&ntilde;=XX</a><br> +<!-- ?id=ID&ograve;=XX --> + <a href="?id=ID&ograve;=XX">id=ID&ograve;=XX</a><br> +<!-- ?id=ID&oacute;=XX --> + <a href="?id=ID&oacute;=XX">id=ID&oacute;=XX</a><br> +<!-- ?id=ID&ocirc;=XX --> + <a href="?id=ID&ocirc;=XX">id=ID&ocirc;=XX</a><br> +<!-- ?id=ID&otilde;=XX --> + <a href="?id=ID&otilde;=XX">id=ID&otilde;=XX</a><br> +<!-- ?id=ID&ouml;=XX --> + <a href="?id=ID&ouml;=XX">id=ID&ouml;=XX</a><br> +<!-- ?id=ID&divide;=XX --> + <a href="?id=ID&divide;=XX">id=ID&divide;=XX</a><br> +<!-- ?id=ID&oslash;=XX --> + <a href="?id=ID&oslash;=XX">id=ID&oslash;=XX</a><br> +<!-- ?id=ID&ugrave;=XX --> + <a href="?id=ID&ugrave;=XX">id=ID&ugrave;=XX</a><br> +<!-- ?id=ID&uacute;=XX --> + <a href="?id=ID&uacute;=XX">id=ID&uacute;=XX</a><br> +<!-- ?id=ID&ucirc;=XX --> + <a href="?id=ID&ucirc;=XX">id=ID&ucirc;=XX</a><br> +<!-- ?id=ID&uuml;=XX --> + <a href="?id=ID&uuml;=XX">id=ID&uuml;=XX</a><br> +<!-- ?id=ID&yacute;=XX --> + <a href="?id=ID&yacute;=XX">id=ID&yacute;=XX</a><br> +<!-- ?id=ID&thorn;=XX --> + <a href="?id=ID&thorn;=XX">id=ID&thorn;=XX</a><br> +<!-- ?id=ID&yuml;=XX --> + <a href="?id=ID&yuml;=XX">id=ID&yuml;=XX</a><br> +<!-- End of first of two groups of character entities < 256. --> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- ?id=ID&amp;fnof=XX --> + <a href="?id=ID&fnof;=XX">id=ID&fnof;=XX</a><br> +<!-- ?id=ID&amp;Alpha=XX --> + <a href="?id=ID&Alpha;=XX">id=ID&Alpha;=XX</a><br> +<!-- ?id=ID&amp;Beta=XX --> + <a href="?id=ID&Beta;=XX">id=ID&Beta;=XX</a><br> +<!-- ?id=ID&amp;Gamma=XX --> + <a href="?id=ID&Gamma;=XX">id=ID&Gamma;=XX</a><br> +<!-- ?id=ID&amp;Delta=XX --> + <a href="?id=ID&Delta;=XX">id=ID&Delta;=XX</a><br> +<!-- ?id=ID&amp;Epsilon=XX --> + <a href="?id=ID&Epsilon;=XX">id=ID&Epsilon;=XX</a><br> +<!-- ?id=ID&amp;Zeta=XX --> + <a href="?id=ID&Zeta;=XX">id=ID&Zeta;=XX</a><br> +<!-- ?id=ID&amp;Eta=XX --> + <a href="?id=ID&Eta;=XX">id=ID&Eta;=XX</a><br> +<!-- ?id=ID&amp;Theta=XX --> + <a href="?id=ID&Theta;=XX">id=ID&Theta;=XX</a><br> +<!-- ?id=ID&amp;Iota=XX --> + <a href="?id=ID&Iota;=XX">id=ID&Iota;=XX</a><br> +<!-- ?id=ID&amp;Kappa=XX --> + <a href="?id=ID&Kappa;=XX">id=ID&Kappa;=XX</a><br> +<!-- ?id=ID&amp;Lambda=XX --> + <a href="?id=ID&Lambda;=XX">id=ID&Lambda;=XX</a><br> +<!-- ?id=ID&amp;Mu=XX --> + <a href="?id=ID&Mu;=XX">id=ID&Mu;=XX</a><br> +<!-- ?id=ID&amp;Nu=XX --> + <a href="?id=ID&Nu;=XX">id=ID&Nu;=XX</a><br> +<!-- ?id=ID&amp;Xi=XX --> + <a href="?id=ID&Xi;=XX">id=ID&Xi;=XX</a><br> +<!-- ?id=ID&amp;Omicron=XX --> + <a href="?id=ID&Omicron;=XX">id=ID&Omicron;=XX</a><br> +<!-- ?id=ID&amp;Pi=XX --> + <a href="?id=ID&Pi;=XX">id=ID&Pi;=XX</a><br> +<!-- ?id=ID&amp;Rho=XX --> + <a href="?id=ID&Rho;=XX">id=ID&Rho;=XX</a><br> +<!-- ?id=ID&amp;Sigma=XX --> + <a href="?id=ID&Sigma;=XX">id=ID&Sigma;=XX</a><br> +<!-- ?id=ID&amp;Tau=XX --> + <a href="?id=ID&Tau;=XX">id=ID&Tau;=XX</a><br> +<!-- ?id=ID&amp;Upsilon=XX --> + <a href="?id=ID&Upsilon;=XX">id=ID&Upsilon;=XX</a><br> +<!-- ?id=ID&amp;Phi=XX --> + <a href="?id=ID&Phi;=XX">id=ID&Phi;=XX</a><br> +<!-- ?id=ID&amp;Chi=XX --> + <a href="?id=ID&Chi;=XX">id=ID&Chi;=XX</a><br> +<!-- ?id=ID&amp;Psi=XX --> + <a href="?id=ID&Psi;=XX">id=ID&Psi;=XX</a><br> +<!-- ?id=ID&amp;Omega=XX --> + <a href="?id=ID&Omega;=XX">id=ID&Omega;=XX</a><br> +<!-- ?id=ID&amp;alpha=XX --> + <a href="?id=ID&alpha;=XX">id=ID&alpha;=XX</a><br> +<!-- ?id=ID&amp;beta=XX --> + <a href="?id=ID&beta;=XX">id=ID&beta;=XX</a><br> +<!-- ?id=ID&amp;gamma=XX --> + <a href="?id=ID&gamma;=XX">id=ID&gamma;=XX</a><br> +<!-- ?id=ID&amp;delta=XX --> + <a href="?id=ID&delta;=XX">id=ID&delta;=XX</a><br> +<!-- ?id=ID&amp;epsilon=XX --> + <a href="?id=ID&epsilon;=XX">id=ID&epsilon;=XX</a><br> +<!-- ?id=ID&amp;zeta=XX --> + <a href="?id=ID&zeta;=XX">id=ID&zeta;=XX</a><br> +<!-- ?id=ID&amp;eta=XX --> + <a href="?id=ID&eta;=XX">id=ID&eta;=XX</a><br> +<!-- ?id=ID&amp;theta=XX --> + <a href="?id=ID&theta;=XX">id=ID&theta;=XX</a><br> +<!-- ?id=ID&amp;iota=XX --> + <a href="?id=ID&iota;=XX">id=ID&iota;=XX</a><br> +<!-- ?id=ID&amp;kappa=XX --> + <a href="?id=ID&kappa;=XX">id=ID&kappa;=XX</a><br> +<!-- ?id=ID&amp;lambda=XX --> + <a href="?id=ID&lambda;=XX">id=ID&lambda;=XX</a><br> +<!-- ?id=ID&amp;mu=XX --> + <a href="?id=ID&mu;=XX">id=ID&mu;=XX</a><br> +<!-- ?id=ID&amp;nu=XX --> + <a href="?id=ID&nu;=XX">id=ID&nu;=XX</a><br> +<!-- ?id=ID&amp;xi=XX --> + <a href="?id=ID&xi;=XX">id=ID&xi;=XX</a><br> +<!-- ?id=ID&amp;omicron=XX --> + <a href="?id=ID&omicron;=XX">id=ID&omicron;=XX</a><br> +<!-- ?id=ID&amp;pi=XX --> + <a href="?id=ID&pi;=XX">id=ID&pi;=XX</a><br> +<!-- ?id=ID&amp;rho=XX --> + <a href="?id=ID&rho;=XX">id=ID&rho;=XX</a><br> +<!-- ?id=ID&amp;sigmaf=XX --> + <a href="?id=ID&sigmaf;=XX">id=ID&sigmaf;=XX</a><br> +<!-- ?id=ID&amp;sigma=XX --> + <a href="?id=ID&sigma;=XX">id=ID&sigma;=XX</a><br> +<!-- ?id=ID&amp;tau=XX --> + <a href="?id=ID&tau;=XX">id=ID&tau;=XX</a><br> +<!-- ?id=ID&amp;upsilon=XX --> + <a href="?id=ID&upsilon;=XX">id=ID&upsilon;=XX</a><br> +<!-- ?id=ID&amp;phi=XX --> + <a href="?id=ID&phi;=XX">id=ID&phi;=XX</a><br> +<!-- ?id=ID&amp;chi=XX --> + <a href="?id=ID&chi;=XX">id=ID&chi;=XX</a><br> +<!-- ?id=ID&amp;psi=XX --> + <a href="?id=ID&psi;=XX">id=ID&psi;=XX</a><br> +<!-- ?id=ID&amp;omega=XX --> + <a href="?id=ID&omega;=XX">id=ID&omega;=XX</a><br> +<!-- ?id=ID&amp;thetasym=XX --> + <a href="?id=ID&thetasym;=XX">id=ID&thetasym;=XX</a><br> +<!-- ?id=ID&amp;upsih=XX --> + <a href="?id=ID&upsih;=XX">id=ID&upsih;=XX</a><br> +<!-- ?id=ID&amp;piv=XX --> + <a href="?id=ID&piv;=XX">id=ID&piv;=XX</a><br> +<!-- ?id=ID&amp;bull=XX --> + <a href="?id=ID&bull;=XX">id=ID&bull;=XX</a><br> +<!-- ?id=ID&amp;hellip=XX --> + <a href="?id=ID&hellip;=XX">id=ID&hellip;=XX</a><br> +<!-- ?id=ID&amp;prime=XX --> + <a href="?id=ID&prime;=XX">id=ID&prime;=XX</a><br> +<!-- ?id=ID&amp;Prime=XX --> + <a href="?id=ID&Prime;=XX">id=ID&Prime;=XX</a><br> +<!-- ?id=ID&amp;oline=XX --> + <a href="?id=ID&oline;=XX">id=ID&oline;=XX</a><br> +<!-- ?id=ID&amp;frasl=XX --> + <a href="?id=ID&frasl;=XX">id=ID&frasl;=XX</a><br> +<!-- ?id=ID&amp;weierp=XX --> + <a href="?id=ID&weierp;=XX">id=ID&weierp;=XX</a><br> +<!-- ?id=ID&amp;image=XX --> + <a href="?id=ID&image;=XX">id=ID&image;=XX</a><br> +<!-- ?id=ID&amp;real=XX --> + <a href="?id=ID&real;=XX">id=ID&real;=XX</a><br> +<!-- ?id=ID&amp;trade=XX --> + <a href="?id=ID&trade;=XX">id=ID&trade;=XX</a><br> +<!-- ?id=ID&amp;alefsym=XX --> + <a href="?id=ID&alefsym;=XX">id=ID&alefsym;=XX</a><br> +<!-- ?id=ID&amp;larr=XX --> + <a href="?id=ID&larr;=XX">id=ID&larr;=XX</a><br> +<!-- ?id=ID&amp;uarr=XX --> + <a href="?id=ID&uarr;=XX">id=ID&uarr;=XX</a><br> +<!-- ?id=ID&amp;rarr=XX --> + <a href="?id=ID&rarr;=XX">id=ID&rarr;=XX</a><br> +<!-- ?id=ID&amp;darr=XX --> + <a href="?id=ID&darr;=XX">id=ID&darr;=XX</a><br> +<!-- ?id=ID&amp;harr=XX --> + <a href="?id=ID&harr;=XX">id=ID&harr;=XX</a><br> +<!-- ?id=ID&amp;crarr=XX --> + <a href="?id=ID&crarr;=XX">id=ID&crarr;=XX</a><br> +<!-- ?id=ID&amp;lArr=XX --> + <a href="?id=ID&lArr;=XX">id=ID&lArr;=XX</a><br> +<!-- ?id=ID&amp;uArr=XX --> + <a href="?id=ID&uArr;=XX">id=ID&uArr;=XX</a><br> +<!-- ?id=ID&amp;rArr=XX --> + <a href="?id=ID&rArr;=XX">id=ID&rArr;=XX</a><br> +<!-- ?id=ID&amp;dArr=XX --> + <a href="?id=ID&dArr;=XX">id=ID&dArr;=XX</a><br> +<!-- ?id=ID&amp;hArr=XX --> + <a href="?id=ID&hArr;=XX">id=ID&hArr;=XX</a><br> +<!-- ?id=ID&amp;forall=XX --> + <a href="?id=ID&forall;=XX">id=ID&forall;=XX</a><br> +<!-- ?id=ID&amp;part=XX --> + <a href="?id=ID&part;=XX">id=ID&part;=XX</a><br> +<!-- ?id=ID&amp;exist=XX --> + <a href="?id=ID&exist;=XX">id=ID&exist;=XX</a><br> +<!-- ?id=ID&amp;empty=XX --> + <a href="?id=ID&empty;=XX">id=ID&empty;=XX</a><br> +<!-- ?id=ID&amp;nabla=XX --> + <a href="?id=ID&nabla;=XX">id=ID&nabla;=XX</a><br> +<!-- ?id=ID&amp;isin=XX --> + <a href="?id=ID&isin;=XX">id=ID&isin;=XX</a><br> +<!-- NOTE: In character content (but not in attribute values), IE 5.5 --> + +<!-- treats this as id=ID&not;in=XX but this looks like an IE bug so we --> + +<!-- ignore this behavior and stick to our simple < 256 rule. --> + <!-- ?id=ID&amp;notin=XX --> + <a href="?id=ID&notin;=XX">id=ID&notin;=XX</a><br> +<!-- ?id=ID&amp;ni=XX --> + <a href="?id=ID&ni;=XX">id=ID&ni;=XX</a><br> +<!-- ?id=ID&amp;prod=XX --> + <a href="?id=ID&prod;=XX">id=ID&prod;=XX</a><br> +<!-- ?id=ID&amp;sum=XX --> + <a href="?id=ID&sum;=XX">id=ID&sum;=XX</a><br> +<!-- ?id=ID&amp;minus=XX --> + <a href="?id=ID&minus;=XX">id=ID&minus;=XX</a><br> +<!-- ?id=ID&amp;lowast=XX --> + <a href="?id=ID&lowast;=XX">id=ID&lowast;=XX</a><br> +<!-- ?id=ID&amp;radic=XX --> + <a href="?id=ID&radic;=XX">id=ID&radic;=XX</a><br> +<!-- ?id=ID&amp;prop=XX --> + <a href="?id=ID&prop;=XX">id=ID&prop;=XX</a><br> +<!-- ?id=ID&amp;infin=XX --> + <a href="?id=ID&infin;=XX">id=ID&infin;=XX</a><br> +<!-- ?id=ID&amp;ang=XX --> + <a href="?id=ID&ang;=XX">id=ID&ang;=XX</a><br> +<!-- ?id=ID&amp;and=XX --> + <a href="?id=ID&and;=XX">id=ID&and;=XX</a><br> +<!-- ?id=ID&amp;or=XX --> + <a href="?id=ID&or;=XX">id=ID&or;=XX</a><br> +<!-- ?id=ID&amp;cap=XX --> + <a href="?id=ID&cap;=XX">id=ID&cap;=XX</a><br> +<!-- ?id=ID&amp;cup=XX --> + <a href="?id=ID&cup;=XX">id=ID&cup;=XX</a><br> +<!-- ?id=ID&amp;int=XX --> + <a href="?id=ID&int;=XX">id=ID&int;=XX</a><br> +<!-- ?id=ID&amp;there4=XX --> + <a href="?id=ID&there4;=XX">id=ID&there4;=XX</a><br> +<!-- ?id=ID&amp;sim=XX --> + <a href="?id=ID&sim;=XX">id=ID&sim;=XX</a><br> +<!-- ?id=ID&amp;cong=XX --> + <a href="?id=ID&cong;=XX">id=ID&cong;=XX</a><br> +<!-- ?id=ID&amp;asymp=XX --> + <a href="?id=ID&asymp;=XX">id=ID&asymp;=XX</a><br> +<!-- ?id=ID&amp;ne=XX --> + <a href="?id=ID&ne;=XX">id=ID&ne;=XX</a><br> +<!-- ?id=ID&amp;equiv=XX --> + <a href="?id=ID&equiv;=XX">id=ID&equiv;=XX</a><br> +<!-- ?id=ID&amp;le=XX --> + <a href="?id=ID&le;=XX">id=ID&le;=XX</a><br> +<!-- ?id=ID&amp;ge=XX --> + <a href="?id=ID&ge;=XX">id=ID&ge;=XX</a><br> +<!-- ?id=ID&amp;sub=XX --> + <a href="?id=ID&sub;=XX">id=ID&sub;=XX</a><br> +<!-- ?id=ID&amp;sup=XX --> + <a href="?id=ID&sup;=XX">id=ID&sup;=XX</a><br> +<!-- ?id=ID&amp;nsub=XX --> + <a href="?id=ID&nsub;=XX">id=ID&nsub;=XX</a><br> +<!-- ?id=ID&amp;sube=XX --> + <a href="?id=ID&sube;=XX">id=ID&sube;=XX</a><br> +<!-- ?id=ID&amp;supe=XX --> + <a href="?id=ID&supe;=XX">id=ID&supe;=XX</a><br> +<!-- ?id=ID&amp;oplus=XX --> + <a href="?id=ID&oplus;=XX">id=ID&oplus;=XX</a><br> +<!-- ?id=ID&amp;otimes=XX --> + <a href="?id=ID&otimes;=XX">id=ID&otimes;=XX</a><br> +<!-- ?id=ID&amp;perp=XX --> + <a href="?id=ID&perp;=XX">id=ID&perp;=XX</a><br> +<!-- ?id=ID&amp;sdot=XX --> + <a href="?id=ID&sdot;=XX">id=ID&sdot;=XX</a><br> +<!-- ?id=ID&amp;lceil=XX --> + <a href="?id=ID&lceil;=XX">id=ID&lceil;=XX</a><br> +<!-- ?id=ID&amp;rceil=XX --> + <a href="?id=ID&rceil;=XX">id=ID&rceil;=XX</a><br> +<!-- ?id=ID&amp;lfloor=XX --> + <a href="?id=ID&lfloor;=XX">id=ID&lfloor;=XX</a><br> +<!-- ?id=ID&amp;rfloor=XX --> + <a href="?id=ID&rfloor;=XX">id=ID&rfloor;=XX</a><br> +<!-- ?id=ID&amp;lang=XX --> + <a href="?id=ID&lang;=XX">id=ID&lang;=XX</a><br> +<!-- ?id=ID&amp;rang=XX --> + <a href="?id=ID&rang;=XX">id=ID&rang;=XX</a><br> +<!-- ?id=ID&amp;loz=XX --> + <a href="?id=ID&loz;=XX">id=ID&loz;=XX</a><br> +<!-- ?id=ID&amp;spades=XX --> + <a href="?id=ID&spades;=XX">id=ID&spades;=XX</a><br> +<!-- ?id=ID&amp;clubs=XX --> + <a href="?id=ID&clubs;=XX">id=ID&clubs;=XX</a><br> +<!-- ?id=ID&amp;hearts=XX --> + <a href="?id=ID&hearts;=XX">id=ID&hearts;=XX</a><br> +<!-- ?id=ID&amp;diams=XX --> + <a href="?id=ID&diams;=XX">id=ID&diams;=XX</a><br> +<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- Start of second of two groups of character entities < 256.--> + <!-- ?id=ID&quot;=XX --> + <a href="?id=ID&quot;=XX">id=ID&quot;=XX</a><br> +<!-- ?id=ID&amp;=XX --> + <a href="?id=ID&amp;=XX">id=ID&amp;=XX</a><br> +<!-- ?id=ID&lt;=XX --> + <a href="?id=ID&lt;=XX">id=ID&lt;=XX</a><br> +<!-- ?id=ID&gt;=XX --> + <a href="?id=ID&gt;=XX">id=ID&gt;=XX</a><br> +<!-- End of second of two groups of character entities < 256.--> + <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - --> + <!-- ?id=ID&amp;OElig=XX --> + <a href="?id=ID&OElig;=XX">id=ID&OElig;=XX</a><br> +<!-- ?id=ID&amp;oelig=XX --> + <a href="?id=ID&oelig;=XX">id=ID&oelig;=XX</a><br> +<!-- ?id=ID&amp;Scaron=XX --> + <a href="?id=ID&Scaron;=XX">id=ID&Scaron;=XX</a><br> +<!-- ?id=ID&amp;scaron=XX --> + <a href="?id=ID&scaron;=XX">id=ID&scaron;=XX</a><br> +<!-- ?id=ID&amp;Yuml=XX --> + <a href="?id=ID&Yuml;=XX">id=ID&Yuml;=XX</a><br> +<!-- ?id=ID&amp;circ=XX --> + <a href="?id=ID&circ;=XX">id=ID&circ;=XX</a><br> +<!-- ?id=ID&amp;tilde=XX --> + <a href="?id=ID&tilde;=XX">id=ID&tilde;=XX</a><br> +<!-- ?id=ID&amp;ensp=XX --> + <a href="?id=ID&ensp;=XX">id=ID&ensp;=XX</a><br> +<!-- ?id=ID&amp;emsp=XX --> + <a href="?id=ID&emsp;=XX">id=ID&emsp;=XX</a><br> +<!-- ?id=ID&amp;thinsp=XX --> + <a href="?id=ID&thinsp;=XX">id=ID&thinsp;=XX</a><br> +<!-- ?id=ID&amp;zwnj=XX --> + <a href="?id=ID&zwnj;=XX">id=ID&zwnj;=XX</a><br> +<!-- ?id=ID&amp;zwj=XX --> + <a href="?id=ID&zwj;=XX">id=ID&zwj;=XX</a><br> +<!-- ?id=ID&amp;lrm=XX --> + <a href="?id=ID&lrm;=XX">id=ID&lrm;=XX</a><br> +<!-- ?id=ID&amp;rlm=XX --> + <a href="?id=ID&rlm;=XX">id=ID&rlm;=XX</a><br> +<!-- ?id=ID&amp;ndash=XX --> + <a href="?id=ID&ndash;=XX">id=ID&ndash;=XX</a><br> +<!-- ?id=ID&amp;mdash=XX --> + <a href="?id=ID&mdash;=XX">id=ID&mdash;=XX</a><br> +<!-- ?id=ID&amp;lsquo=XX --> + <a href="?id=ID&lsquo;=XX">id=ID&lsquo;=XX</a><br> +<!-- ?id=ID&amp;rsquo=XX --> + <a href="?id=ID&rsquo;=XX">id=ID&rsquo;=XX</a><br> +<!-- ?id=ID&amp;sbquo=XX --> + <a href="?id=ID&sbquo;=XX">id=ID&sbquo;=XX</a><br> +<!-- ?id=ID&amp;ldquo=XX --> + <a href="?id=ID&ldquo;=XX">id=ID&ldquo;=XX</a><br> +<!-- ?id=ID&amp;rdquo=XX --> + <a href="?id=ID&rdquo;=XX">id=ID&rdquo;=XX</a><br> +<!-- ?id=ID&amp;bdquo=XX --> + <a href="?id=ID&bdquo;=XX">id=ID&bdquo;=XX</a><br> +<!-- ?id=ID&amp;dagger=XX --> + <a href="?id=ID&dagger;=XX">id=ID&dagger;=XX</a><br> +<!-- ?id=ID&amp;Dagger=XX --> + <a href="?id=ID&Dagger;=XX">id=ID&Dagger;=XX</a><br> +<!-- ?id=ID&amp;permil=XX --> + <a href="?id=ID&permil;=XX">id=ID&permil;=XX</a><br> +<!-- ?id=ID&amp;lsaquo=XX --> + <a href="?id=ID&lsaquo;=XX">id=ID&lsaquo;=XX</a><br> +<!-- ?id=ID&amp;rsaquo=XX --> + <a href="?id=ID&rsaquo;=XX">id=ID&rsaquo;=XX</a><br> +<!-- NOTE: Netscape 4.7 treats this as a missing semicolon. Since IE 5.5 --> + +<!-- treats it as an unescaped ampersand, we choose IE's behavior since --> + +<!-- it allows us to stick with our simple < 256 rule. --> + <!-- ?id=ID&amp;euro=XX --> + <a href="?id=ID&euro;=XX">id=ID&euro;=XX</a><br> +<!--=====================================================================--> + +<!-- These are a few non-standard character entities. --> + +<!--=====================================================================--> + <!-- ?id=ID&amp;apos=XX... --> + <a href="?id=ID&apos;=XX">id=ID&apos;=XX</a><br> +<!-- ?id=ID&amp;foo=XX... --> + <a href="?id=ID&foo;=XX">id=ID&foo;=XX</a><br></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-590716.txt b/regression_testing/cases/legacy-expects/case-590716.txt new file mode 100644 index 0000000..858a125 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-590716.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 799 column 17 - Warning: unescaped & or unknown entity "&foo" +line 799 column 32 - Warning: unescaped & or unknown entity "&foo" +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-593705.html b/regression_testing/cases/legacy-expects/case-593705.html new file mode 100644 index 0000000..594b8d6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-593705.html @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>[ 593705 ] Use of &lt; comparison symbol confuses + Tidy</title> + <script type="text/javascript"> + function foo( bar, baz ) + { + return ( bar < baz ? true : false ); + } + </script> +</head> +<body> + <p>Does the script confuse Tidy?</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-593705.txt b/regression_testing/cases/legacy-expects/case-593705.txt new file mode 100644 index 0000000..7e8202f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-593705.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-609058.html b/regression_testing/cases/legacy-expects/case-609058.html new file mode 100644 index 0000000..3be6759 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-609058.html @@ -0,0 +1,50 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>609058 - elements replaced by CSS</title> + <style type="text/css"> + /*<![CDATA[*/ + strong.c4 {text-decoration: line-through} + strong.c3 {text-decoration: underline} + span.c2 {text-decoration: line-through} + span.c1 {text-decoration: underline} + /*]]>*/ + </style> +</head> +<body> + <div> + <span class="c1">aa</span> <span class="c2">aa</span> + <span class="c2">aa</span> + </div> + <div> + <span class="c1">aa</span> <span class="c2">aa</span> + <span class="c2">aa</span> + </div> + <div> + <p><span class="c1">aa</span></p> + <p><span class="c2">aa</span></p> + <p><span class="c2">aa</span></p> + </div> + <div> + <p><span class="c1">aa</span> bb</p> + <p><span class="c2">aa</span> bb</p> + <p><span class="c2">aa</span> bb</p> + </div> + <div> + <p><strong class="c3">aa</strong></p> + <p><strong class="c4">aa</strong></p> + <p><strong class="c4">aa</strong></p> + </div> + <div> + <p><strong><span class="c1">aa</span> bb</strong></p> + <p><strong><span class="c2">aa</span> bb</strong></p> + <p><strong><span class="c2">aa</span> bb</strong></p> + </div> + <div> + <p><strong>cc <span class="c1">aa</span> bb</strong></p> + <p><strong>cc <span class="c2">aa</span> bb</strong></p> + <p><strong>cc <span class="c2">aa</span> bb</strong></p> + </div> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-609058.txt b/regression_testing/cases/legacy-expects/case-609058.txt new file mode 100644 index 0000000..5bd258a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-609058.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-616744.txt b/regression_testing/cases/legacy-expects/case-616744.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-616744.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-616744.xml b/regression_testing/cases/legacy-expects/case-616744.xml new file mode 100644 index 0000000..2b4de5f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-616744.xml @@ -0,0 +1,12 @@ +<refentry> +<para>This is some stuff in a para. There's a " +<literal>command</literal>" in it.</para> +<blockquote> +<programlisting> + This line is indented 4 spaces. + + This (3rd) line is indented 8 spaces. + +</programlisting> +</blockquote> +</refentry> diff --git a/regression_testing/cases/legacy-expects/case-620531.html b/regression_testing/cases/legacy-expects/case-620531.html new file mode 100644 index 0000000..f9c5cbb --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-620531.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ 620531 ] br in pre must not cause line break</title> +</head> +<body> + <p class="foo">foo</p> + <pre>bar<br>baz</pre> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-620531.txt b/regression_testing/cases/legacy-expects/case-620531.txt new file mode 100644 index 0000000..68aa9a7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-620531.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 2 column 1 - Info: value for attribute "class" missing quote marks +line 2 column 1 - Warning: inserting implicit <body> +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-629885.html b/regression_testing/cases/legacy-expects/case-629885.html new file mode 100644 index 0000000..a6876f0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-629885.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<head> + <title>[629885] - Unbalanced quote in CSS Scrambles Doc</title> + <style type="text/css"> + ' + </style> +</head> +<body> + <h1>Test</h1> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-629885.txt b/regression_testing/cases/legacy-expects/case-629885.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-629885.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-634889.html b/regression_testing/cases/legacy-expects/case-634889.html new file mode 100644 index 0000000..3157677 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-634889.html @@ -0,0 +1,9 @@ +<html> +<head> +<title>[ 634889 ] Problem with &lt;o:p&gt; ms word tag</title> +</head> +<body> +<p>Probably OK, now that ParseTagNames() is fixed.</p> +<o:p></o:p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-634889.txt b/regression_testing/cases/legacy-expects/case-634889.txt new file mode 100644 index 0000000..90a1bcd --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-634889.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 3 - Warning: <o:p> is not approved by W3C +Info: Document content looks like XHTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-640473.html b/regression_testing/cases/legacy-expects/case-640473.html new file mode 100644 index 0000000..5385a9f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-640473.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ 640473 ] new-empty-tags doesn't work, breaks doc</title> +</head> +<body> + <foo>Foo <bar>bar</bar> foo foo + <zippo></zippo>foo</foo> + <p>This is a test</p> + <zippo> + <baz> +This is a pre-formatted Baz! +</baz> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-640473.txt b/regression_testing/cases/legacy-expects/case-640473.txt new file mode 100644 index 0000000..843ab0a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-640473.txt @@ -0,0 +1,19 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 3 column 1 - Warning: <foo> is not approved by W3C +line 3 column 10 - Warning: <bar> is not approved by W3C +line 3 column 32 - Warning: <zippo> is not approved by W3C +line 5 column 1 - Warning: <zippo> is not approved by W3C +line 6 column 1 - Warning: <baz> is not approved by W3C +Info: Document content looks like HTML5 +Tidy found 6 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-640474.txt b/regression_testing/cases/legacy-expects/case-640474.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-640474.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-640474.xml b/regression_testing/cases/legacy-expects/case-640474.xml new file mode 100644 index 0000000..c6c0cad --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-640474.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<names> +<name>Bjrn Hhrmann</name> +<name>Marc-Andr Lemburg</name> +</names> diff --git a/regression_testing/cases/legacy-expects/case-646946.txt b/regression_testing/cases/legacy-expects/case-646946.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-646946.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-646946.xml b/regression_testing/cases/legacy-expects/case-646946.xml new file mode 100644 index 0000000..bb88916 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-646946.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" standalone="yes"?> +<!-- [ 646946 ] Bad doctype guessing in XML mode --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" +"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="1800" height="1500"></svg> diff --git a/regression_testing/cases/legacy-expects/case-647255.html b/regression_testing/cases/legacy-expects/case-647255.html new file mode 100644 index 0000000000000000000000000000000000000000..1adc1ee4bc6ec34c1e46418f8716b0d589a7fc97 GIT binary patch literal 774 zcmah{%}&BV7@TCc7oK9}tPp=7Dy51jYC^>LbMRQC5h4PS8sT|NJn6xMCvV0lkfS#q zM4fMIp@$}B)9!q;yEF4``}6H$0lR3RiZfi`7<({iBg755@Q{H!s|-e#?O}*AvX&1q zz$Wq>_jcs?UPTUl+~SJtGB)hU^K7h|o#_Vf(Xy4Ht4r4opDqG&E>9<GNs_0={EUkx zeOeeN6xww3*h!m8Luy8EpXiic(o;Zu&K))GEE3nPXXI*l3w?GVy5m1T(aUh3<Qou& zHiJQrN+VW=tj})6BXT?7N|Q`LCCMzOk_w;Bmos%HPBh1FgNb7hRa1)$lKTXwsY$QW z)6pzX-)4)`oZyZ(F=RHMykQ=LOQsw1E;>YMnp=8Xuj`WbbWs;{nYf@0)>xOwlsOxC zx}vN4kSi6vqgS}n;9S>fdjDnIx3?AGIyKFsdR8CmMHwtHdyRdD>}8Sof$W=l;_9n< ZSHj3w?(%7|<9QN6$$v%a_-~YN^9!KWhkgJ6 literal 0 HcmV?d00001 diff --git a/regression_testing/cases/legacy-expects/case-647255.txt b/regression_testing/cases/legacy-expects/case-647255.txt new file mode 100644 index 0000000..5463046 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-647255.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: inserting implicit <body> +line 1 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like XHTML5 +Tidy found 3 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-647900.html b/regression_testing/cases/legacy-expects/case-647900.html new file mode 100644 index 0000000..62257aa --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-647900.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ 647900 ] tables are incorrectly merged</title> +</head> +<body> + <table summary="Paragraph should follow table, not precede."> + <tr> + <td>Table data</td> + </tr> + </table> + <p>A paragraph</p> + <table summary="Same again."> + <tr> + <th>Foo</th> + </tr> + <tr> + <td> + <table summary="Nested"> + <tr> + <td>Foo</td> + </tr> + </table> + </td> + </tr> + </table> + <p>Another paragraph</p> + <form action="foo.cgi"> + <table summary="Bad form"> + <tr> + <td>Input: <input type="text" + name="foo"></td> + <td></td> + </tr> + </table> + <p>Yet another paragraph</p> + </form> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-647900.txt b/regression_testing/cases/legacy-expects/case-647900.txt new file mode 100644 index 0000000..e51724c --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-647900.txt @@ -0,0 +1,29 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 19 column 5 - Warning: missing <tr> +line 29 column 11 - Error: discarding unexpected </form> +line 29 column 18 - Error: discarding unexpected </td> +line 25 column 3 - Warning: missing </form> +line 6 column 3 - Warning: The summary attribute on the <table> element is obsolete in HTML5 +line 13 column 3 - Warning: The summary attribute on the <table> element is obsolete in HTML5 +line 18 column 5 - Warning: The summary attribute on the <table> element is obsolete in HTML5 +line 26 column 5 - Warning: The summary attribute on the <table> element is obsolete in HTML5 +Info: Document content looks like HTML5 +Tidy found 7 warnings and 2 errors! + +You may need to move one or both of the <form> and </form> +tags. HTML elements should be properly nested and form elements +are no exception. For instance you should not place the <form> +in one table cell and the </form> in another. If the <form> is +placed before a table, the </form> cannot be placed inside the +table! Note that one form can't be nested inside another! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-649812.html b/regression_testing/cases/legacy-expects/case-649812.html new file mode 100644 index 0000000000000000000000000000000000000000..5bc4c53686a1c07b89c24bcaadbb4a36337003fd GIT binary patch literal 1076 zcmbW1y>1gh6orqpvnB5^q$W1bj}?gRkl2Al3Q3e70YVfTd%+eawrr!2=Ru-^f`W<; z@dTu#%Yy*lon`HfWC;n4X6OFQJ?GpzPJaKY>9$%rP*W#*rbBJZtE-9LsE>81Q*CKa zyX3tVw5T%ciI(xrYEji9^He)nkGbhpQAu|>k3ku!r#7eE-PS$`x5#8`A@EEz)cugZ zkgXDXneTwwSHw?r#P{7)Qw1+$y%}B9xWHFZ2d@KP1IF64+Jj`BopZZR);j%{f{N~i zRpguDrb^&37VD}8T94gVO6)n2s#d68V=7B{FW4=5OX2tQ)}!{4sr7V*-ws`m$lA>M zWb7>x)OG@*XTk}&jO!&;#xvFiyyY9r)^nNKnYtPbgTOY^+C^0Z6<v@_Pxei)j^VL6 zrP!z3c*xBvwkfrVWtk?37XkP3FQ4J%lNe%8f(B0qDU+XoFa&wT&e?XzoDoSuGR;<1 zMEDW^jIZOXI6L#N*H!G5dDp@6D&8}D9-8%PJ?&5R41%^?&5_<Ri7{Q;)IECaRYtr- zpICdY!VUMpt+{pAa8<YJ>e#E!YXyIuNS)KG;Wk~<?ULDaTW*QW0q36kAB~T~v{JpE ztL8)WDf%9Ljy!*>o_9-`dZIhn?}>hmK9c<seTyt&uiR&M=y;~Ytm1FQ{QN(Hz0DuR Cf3<M{ literal 0 HcmV?d00001 diff --git a/regression_testing/cases/legacy-expects/case-649812.txt b/regression_testing/cases/legacy-expects/case-649812.txt new file mode 100644 index 0000000..5608b73 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-649812.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-655338.html b/regression_testing/cases/legacy-expects/case-655338.html new file mode 100644 index 0000000..627035e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-655338.html @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html lang="en" + xml:lang="en" + xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>[ 655338 ] Tidy leaves XML decl in wrong place</title> +</head> +<body> + <p>foo</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-655338.txt b/regression_testing/cases/legacy-expects/case-655338.txt new file mode 100644 index 0000000..761110f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-655338.txt @@ -0,0 +1,17 @@ +line 2 column 1 - Warning: removing whitespace preceding XML Declaration +line 3 column 1 - Info: value for attribute "lang" missing quote marks +line 7 column 1 - Warning: inserting implicit <body> +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Strict +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-656889.html b/regression_testing/cases/legacy-expects/case-656889.html new file mode 100644 index 0000000..f8c8a05 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-656889.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ 656889 ] textarea text and line wrapping</title> +</head> +<body> + <form action="foo"> + <textarea name="txt1" rows="4" cols="40">Blah Blah blah... +Blah Blah... +Blah Blah Blah Blah.</textarea> + </form> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-656889.txt b/regression_testing/cases/legacy-expects/case-656889.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-656889.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-658230.html b/regression_testing/cases/legacy-expects/case-658230.html new file mode 100644 index 0000000..9de4985 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-658230.html @@ -0,0 +1,580 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> +<title></title> +</head> +<body> +<p>BIG-5 r</p> +<p>Here are some entities: & "  2</p> +<p>A0 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>A1 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>A2 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>A3 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>A4 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>A5 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>A6 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>A7 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>A8 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>A9 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>AA @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>AB @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>AC @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>AD @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>AE @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>AF @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B0 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B1 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B2 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B3 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B4 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B5 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B6 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B7 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B8 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>B9 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>BA @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>BB @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>BC @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>BD @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>BE @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>BF @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>C0 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>C1 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>C2 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~   ¡ ¢ £ ¤ ¥ ¦ § ¨ © ª « ¬ ­ ® +¯ ° ± ² ³ ´ µ ¶ · ¸ ¹ º » ¼ ½ ¾ ¿ + + </p> +<p>C3 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ à á â ã ä å æ ç è é ê ë ì í î +ï ð ñ ò ó ô õ ö ÷ ø ù ú û ü ý þ ÿ + + </p> +<p>C4 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Ġ ġ Ģ ģ Ĥ ĥ Ħ ħ Ĩ ĩ Ī ī Ĭ ĭ Į +į İ ı IJ ij Ĵ ĵ Ķ ķ ĸ Ĺ ĺ Ļ ļ Ľ ľ Ŀ + + </p> +<p>C5 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Š š Ţ ţ Ť ť Ŧ ŧ Ũ ũ Ū ū Ŭ ŭ Ů +ů Ű ű Ų ų Ŵ ŵ Ŷ ŷ Ÿ Ź ź Ż ż Ž ž ſ + + </p> +<p>C6 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Ơ ơ Ƣ ƣ Ƥ ƥ Ʀ Ƨ ƨ Ʃ ƪ ƫ Ƭ ƭ Ʈ +Ư ư Ʊ Ʋ Ƴ ƴ Ƶ ƶ Ʒ Ƹ ƹ ƺ ƻ Ƽ ƽ ƾ ƿ + + </p> +<p>C7 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Ǡ ǡ Ǣ ǣ Ǥ ǥ Ǧ ǧ Ǩ ǩ Ǫ ǫ Ǭ ǭ Ǯ +ǯ ǰ DZ Dz dz Ǵ ǵ Ƕ Ƿ Ǹ ǹ Ǻ ǻ Ǽ ǽ Ǿ ǿ + + </p> +<p>C8 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Ƞ ȡ Ȣ ȣ Ȥ ȥ Ȧ ȧ Ȩ ȩ Ȫ ȫ Ȭ ȭ Ȯ +ȯ Ȱ ȱ Ȳ ȳ ȴ ȵ ȶ ȷ ȸ ȹ Ⱥ Ȼ ȼ Ƚ Ⱦ ȿ + + </p> +<p>C9 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ɠ ɡ ɢ ɣ ɤ ɥ ɦ ɧ ɨ ɩ ɪ ɫ ɬ ɭ ɮ +ɯ ɰ ɱ ɲ ɳ ɴ ɵ ɶ ɷ ɸ ɹ ɺ ɻ ɼ ɽ ɾ ɿ + + </p> +<p>CA @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ʠ ʡ ʢ ʣ ʤ ʥ ʦ ʧ ʨ ʩ ʪ ʫ ʬ ʭ ʮ +ʯ ʰ ʱ ʲ ʳ ʴ ʵ ʶ ʷ ʸ ʹ ʺ ʻ ʼ ʽ ʾ ʿ + + </p> +<p>CB @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ˠ ˡ ˢ ˣ ˤ ˥ ˦ ˧ ˨ ˩ ˪ ˫ ˬ ˭ ˮ +˯ ˰ ˱ ˲ ˳ ˴ ˵ ˶ ˷ ˸ ˹ ˺ ˻ ˼ ˽ ˾ ˿ + + </p> +<p>CC @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ̠ ̡ ̢ ̣ ̤ ̥ ̦ ̧ ̨ ̩ ̪ ̫ ̬ ̭ ̮ +̯ ̰ ̱ ̲ ̳ ̴ ̵ ̶ ̷ ̸ ̹ ̺ ̻ ̼ ̽ ̾ ̿ + + </p> +<p>CD @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ͠ ͡ ͢ ͣ ͤ ͥ ͦ ͧ ͨ ͩ ͪ ͫ ͬ ͭ ͮ +ͯ Ͱ ͱ Ͳ ͳ ʹ ͵ Ͷ ͷ ͸ ͹ ͺ ͻ ͼ ͽ ; Ϳ + + </p> +<p>CE @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Π Ρ ΢ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή +ί ΰ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο + + </p> +<p>CF @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Ϡ ϡ Ϣ ϣ Ϥ ϥ Ϧ ϧ Ϩ ϩ Ϫ ϫ Ϭ ϭ Ϯ +ϯ ϰ ϱ ϲ ϳ ϴ ϵ ϶ Ϸ ϸ Ϲ Ϻ ϻ ϼ Ͻ Ͼ Ͽ + + </p> +<p>D0 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю +Я а б в г д е ж з и й к л м н о п + + </p> +<p>D1 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Ѡ ѡ Ѣ ѣ Ѥ ѥ Ѧ ѧ Ѩ ѩ Ѫ ѫ Ѭ ѭ Ѯ +ѯ Ѱ ѱ Ѳ ѳ Ѵ ѵ Ѷ ѷ Ѹ ѹ Ѻ ѻ Ѽ ѽ Ѿ ѿ + + </p> +<p>D2 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Ҡ ҡ Ң ң Ҥ ҥ Ҧ ҧ Ҩ ҩ Ҫ ҫ Ҭ ҭ Ү +ү Ұ ұ Ҳ ҳ Ҵ ҵ Ҷ ҷ Ҹ ҹ Һ һ Ҽ ҽ Ҿ ҿ + + </p> +<p>D3 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Ӡ ӡ Ӣ ӣ Ӥ ӥ Ӧ ӧ Ө ө Ӫ ӫ Ӭ ӭ Ӯ +ӯ Ӱ ӱ Ӳ ӳ Ӵ ӵ Ӷ ӷ Ӹ ӹ Ӻ ӻ Ӽ ӽ Ӿ ӿ + + </p> +<p>D4 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ Ԡ ԡ Ԣ ԣ Ԥ ԥ Ԧ ԧ Ԩ ԩ Ԫ ԫ Ԭ ԭ Ԯ +ԯ ԰ Ա Բ Գ Դ Ե Զ Է Ը Թ Ժ Ի Լ Խ Ծ Կ + + </p> +<p>D5 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ՠ ա բ գ դ ե զ է ը թ ժ ի լ խ ծ +կ հ ձ ղ ճ մ յ ն շ ո չ պ ջ ռ ս վ տ + + </p> +<p>D6 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ֠ ֡ ֢ ֣ ֤ ֥ ֦ ֧ ֨ ֩ ֪ ֫ ֬ ֭ ֮ +֯ ְ ֱ ֲ ֳ ִ ֵ ֶ ַ ָ ֹ ֺ ֻ ּ ֽ ־ ֿ + + </p> +<p>D7 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ נ ס ע ף פ ץ צ ק ר ש ת ׫ ׬ ׭ ׮ +ׯ װ ױ ײ ׳ ״ ׵ ׶ ׷ ׸ ׹ ׺ ׻ ׼ ׽ ׾ ׿ + + </p> +<p>D8 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ؠ ء آ أ ؤ إ ئ ا ب ة ت ث ج ح خ +د ذ ر ز س ش ص ض ط ظ ع غ ػ ؼ ؽ ؾ ؿ + + </p> +<p>D9 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ٠ ١ ٢ ٣ ٤ ٥ ٦ ٧ ٨ ٩ ٪ ٫ ٬ ٭ ٮ +ٯ ٰ ٱ ٲ ٳ ٴ ٵ ٶ ٷ ٸ ٹ ٺ ٻ ټ ٽ پ ٿ + + </p> +<p>DA @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ڠ ڡ ڢ ڣ ڤ ڥ ڦ ڧ ڨ ک ڪ ګ ڬ ڭ ڮ +گ ڰ ڱ ڲ ڳ ڴ ڵ ڶ ڷ ڸ ڹ ں ڻ ڼ ڽ ھ ڿ + + </p> +<p>DB @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ۠ ۡ ۢ ۣ ۤ ۥ ۦ ۧ ۨ ۩ ۪ ۫ ۬ ۭ ۮ +ۯ ۰ ۱ ۲ ۳ ۴ ۵ ۶ ۷ ۸ ۹ ۺ ۻ ۼ ۽ ۾ ۿ + + </p> +<p>DC @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ܠ ܡ ܢ ܣ ܤ ܥ ܦ ܧ ܨ ܩ ܪ ܫ ܬ ܭ ܮ +ܯ ܰ ܱ ܲ ܳ ܴ ܵ ܶ ܷ ܸ ܹ ܺ ܻ ܼ ܽ ܾ ܿ + + </p> +<p>DD @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ݠ ݡ ݢ ݣ ݤ ݥ ݦ ݧ ݨ ݩ ݪ ݫ ݬ ݭ ݮ +ݯ ݰ ݱ ݲ ݳ ݴ ݵ ݶ ݷ ݸ ݹ ݺ ݻ ݼ ݽ ݾ ݿ + + </p> +<p>DE @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ޠ ޡ ޢ ޣ ޤ ޥ ަ ާ ި ީ ު ޫ ެ ޭ ޮ +ޯ ް ޱ ޲ ޳ ޴ ޵ ޶ ޷ ޸ ޹ ޺ ޻ ޼ ޽ ޾ ޿ + + </p> +<p>DF @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ ߠ ߡ ߢ ߣ ߤ ߥ ߦ ߧ ߨ ߩ ߪ ߫ ߬ ߭ ߮ +߯ ߰ ߱ ߲ ߳ ߴ ߵ ߶ ߷ ߸ ߹ ߺ ߻ ߼ ߽ ߾ ߿ + + </p> +<p>E0 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>E1 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>E2 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>E3 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>E4 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>E5 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>E6 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>E7 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>E8 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>E9 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>EA @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>EB @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>EC @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>ED @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>EE @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>EF @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F0 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F1 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F2 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F3 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F4 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F5 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F6 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F7 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F8 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>F9 @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>FA @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>FB @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>FC @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>FD @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +<p>FE @ A B C D E F G H I J K L M +N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m +n o p q r s t u v w x y z { | } ~ + + + </p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-658230.txt b/regression_testing/cases/legacy-expects/case-658230.txt new file mode 100644 index 0000000..589cb38 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-658230.txt @@ -0,0 +1,17 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: inserting implicit <body> +line 1 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like HTML5 +Info: No system identifier in emitted doctype +Tidy found 3 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-660397.html b/regression_testing/cases/legacy-expects/case-660397.html new file mode 100644 index 0000000..0d89ec1 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-660397.html @@ -0,0 +1,269 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <meta http-equiv="Content-Type" content= + "text/html; charset=us-ascii" /> + <title></title> +</head> +<body> + <blockquote> + &raquo;Aufkl&auml;rung ist der Ausgang des Menschen<br /> + aus seiner selbstverschuldeten Unm&uuml;ndigkeit.&laquo;<br /> + /Immanuel Kant/ + </blockquote> + <h1>&raquo;TCPA&laquo; und &raquo;Palladium&laquo;</h1> + <h2>Ein weiterer Schritt in die Unm&uuml;ndigkeit<br /> + oder ein Schritt hin zur Emanzipation? &euro;</h2> + <p>Von der &Ouml;ffentlichkeit weitgehend unbemerkt geistern seit + einigen Wochen geheimnisvolle neue Schlagworte und K&uuml;rzel + durch die Welt der EDV-Profis: &raquo;TCPA&laquo; und + &raquo;Palladium&laquo;. Interessiert habe ich mich damit + n&auml;her besch&auml;ftigt, denn allein die Tatsache, da&szlig; + die Bezeichnung &raquo;Palladium&laquo; in unserem Fall anders + als in den Naturwissenschaften nicht ein wertvolles Metall meint, + sondern eine Wortsch&ouml;pfung der Firma &raquo;Microsoft&laquo; + darstellt, verhei&szlig;t nichts Gutes und weckte daher meinen + Argwohn. Der wesentlich neutralere Begriff &raquo;TCPA&laquo; + (das steht f&uuml;r &raquo;Trusted Computing Platform + Alliance&laquo;) dagegen scheint auf den ersten Blick positive + oder zumindest neutrale Emotionen zu wecken - aber auch nur auf + den ersten Blick, denn wenn man sich des Horrorszenarios + bewu&szlig;t wird, das hinter &raquo;TCPA&laquo; in Kombination + mit &raquo;Palladium&laquo; steckt, so d&uuml;rfte wohl selbst + der unbedarfteste EDV-Anwender schlaflose N&auml;chte + bekommen.</p> + <p>Was hat es also mit diesen Begriffen auf sich, welche + Intentionen liegen diesen Schlagworten zugrunde und was bedeuten + die dahintersteckenden neuen Techniken f&uuml;r den + EDV-Anwender?</p> + <p>Die &raquo;TCPA&laquo; ist ein Zusammenschlu&szlig; + f&uuml;hrender Hardwarehersteller, darunter IBM, HP, AMD und + Intel, die sich vorgenommen haben, den Personal Computer durch + Implementation neuer Hardwaretechnologien sicherer zu machen. Wie + uns allen bewu&szlig;t ist, hat die Monokultur im + Betriebssystemsektor dazu gef&uuml;hrt, da&szlig; durch das + uns&auml;gliche Monopol von &raquo;Microsoft&laquo; in + Kombination mit der grottenschlechten Software dieser Firma + allerorten und allenthalben eine wahre Flut von Computerviren, + sogenannten trojanischen Pferden, W&uuml;rmern und + Sicherheitsl&ouml;chern entstanden ist und t&auml;glich neu auf + den Anwender zurollt, die den Umgang mit dem PC immer wieder zum + &Auml;rgernis werden l&auml;&szlig;t. Diesem &Uuml;bel wollen die + an der &raquo;TCPA&laquo; beteiligten Konzerne nun durch den + sogenannten &raquo;Fritz&laquo;-Chip (benannt nach dem US-Senator + Fritz Hollings) abhelfen - ein hehrer Wunsch. Bei dem Fritz-Chip + handelt es sich um einen Krypto-Baustein, der in zuk&uuml;nftige + Generationen von Personal Computern integriert werden und + allgemein die Systeme sicherer machen soll. Dieser Chip speichert + mehrere Schl&uuml;ssel, die hardware- und anwenderspezifisch + definiert sind. Sobald der PC eingeschaltet wird, nimmt der + Fritz-Chip seine Arbeit auf und fragt einen Schl&uuml;ssel nach + dem anderen ab: Zun&auml;chst wird das BIOS abgefragt, + anschlie&szlig;end alle im Rechner vorhandenen BIOS-Erweiterungen + der Steckkarten. Danach wird die Festplatte &uuml;berpr&uuml;ft, + und anschlie&szlig;end pr&uuml;ft der TCPA-Chip auch noch den + Bootsektor, den Bootloader, den Kernel und die + Ger&auml;tetreiber. Da bei jedem dieser Schritte eine + Pr&uuml;fsumme abgespeichert und ein 160 Bit langer eindeutiger + Wert aus den gewonnenen Daten und einem speziellen Schl&uuml;ssel + generiert wird, hat der Fritz-Chip jederzeit die v&ouml;llige + Kontrolle &uuml;ber das Gesamtsystem.</p> + <p>Damit taucht schon die erste Problematik f&uuml;r den Anwender + auf: Bereits ein Flash-Update des Rechner-BIOS legt das gesamte + System lahm, da dann die generierten Werte des Fritz-Chip nicht + mehr mit den gespeicherten Werten, die zertifiziert sind, + &uuml;bereinstimmen. In Zeiten, in denen aufgrund der oftmals + schlampig implementierten BIOS-Versionen Flash-Updates derselben + zumindest bei den &uuml;blichen Consumer-Produkten an der + Tagesordnung sind, ist also der Fritz-Chip eher hinderlich denn + ein Segen f&uuml;r den Anwender. Gleiches gilt &uuml;brigens + f&uuml;r diejenigen Anwender, die beispielsweise eine neue + Grafikkarte oder eine gr&ouml;&szlig;ere Festplatte einbauen + wollen - auch f&uuml;r sie bedeutet jede Hardware-Modifikation + eine - vermutlich nat&uuml;rlich kostenpflichtige - + Neuzertifizierung des Gesamtsystems, damit dieses wieder als + &raquo;TCPA-konform&laquo; angesehen werden kann. Bei der + Neuzertifizierung wird online anhand einer Liste mit + gepr&uuml;fter Hardware (HCL) und einer weiteren Liste mit + gesperrten Seriennummern (SRL) die Konformit&auml;tstabelle des + Rechners gepr&uuml;ft und aktualisiert.</p> + <p>Hat der Fritz-Chip beim Bootvorgang alle Komponenten als + &raquo;TCPA-konform&laquo; &uuml;berpr&uuml;ft und erkannt, + &uuml;bergibt er die Kontrolle schlie&szlig;lich an das + Betriebssystem. Ab diesem Punkt hakt nun - wie k&ouml;nnte es + anders sein? - die Firma &raquo;Microsoft&laquo; ein mit ihrer + &raquo;Palladium&laquo;-Technologie. Sobald der Anwender jetzt + ein Programm startet, &uuml;berpr&uuml;ft das Betriebssystem + dieses anhand der im Fritz-Chip gespeicherten Werte f&uuml;r die + SRL. Sollte sich herausstellen, da&szlig; dieses Programm keine + g&uuml;ltige Lizenz und/oder Seriennummer besitzt oder die Lizenz + abgelaufen ist, wird es gar nicht erst gestartet. Stellt es sich + als &raquo;TCPA-konform&laquo; heraus, so wird nach der Freigabe + und dem anschlie&szlig;enden Start erneut online eine Liste mit + gesperrten Dokumenten f&uuml;r dieses Programm abgerufen (DRL), + um zu verhindern, da&szlig; der Anwender f&uuml;r ihn nicht + vorgesehene Dateien &ouml;ffnet oder unerlaubterweise nutzt.</p> + <p>Was sich auf den ersten Blick tats&auml;chlich als wirksame + Waffe gegen Viren, Trojaner, W&uuml;rmer und &auml;hnliche + Probleme geriert, entm&uuml;ndigt jedoch den Anwender: + &raquo;Palladium&laquo; st&ouml;&szlig;t vor allem bei der + Unterhaltungsindustrie, die einen erbitterten Kampf gegen + jegliche Weiterverbreitung urheberrechtlich gesch&uuml;tzter + Produkte im Internet f&uuml;hrt, auf gro&szlig;e Zustimmung, + bietet sich hier jedoch erstmals vordergr&uuml;ndig die + M&ouml;glichkeit, MP3-Tauschb&ouml;rsen und &auml;hnliche Dienste + effizient trockenzulegen dank &raquo;Microsoft&laquo;. Auch das + Kopieren einzelner Musikst&uuml;cke zu privaten Zwecken am + heimischen PC wird damit unterbunden - dank + &raquo;Microsoft&laquo; werden also vermutlich die ohnehin + &uuml;bervollen Kassen der Unterhaltungsindustrie zuk&uuml;nftig + noch kr&auml;ftiger klingeln!</p> + <p>Doch der Anwender hat nat&uuml;rlich noch die + M&ouml;glichkeit, auch nicht &raquo;TCPA-konforme&laquo; Software + auf seinem heimischen PC zu installieren und zu starten. Bemerkt + &raquo;Palladium&laquo; eine solche Anwendung, wird das + Gesamtsystem als &raquo;kompromittiert&laquo; gekennzeichnet und + alle konformen Anwendungen samt Dateien werden geschlossen. Der + Nutzwert eines solchen Systems d&uuml;rfte f&uuml;r den Anwender + dann wohl gegen Null tendieren.</p> + <p>Doch gehen wir einen Schritt weiter und bedenken wir die + Folgen dieser Technologie:</p> + <ol> + <li>Die SRL's, DRL's und HCL's, die f&uuml;r die + Konformit&auml;ts-Authentifizierung eines PC's unbedingt + ben&ouml;tigt werden, werden an zentraler Stelle im Internet + gespeichert und abgerufen. Hacker brauchen jetzt also nicht + mehr einzelne PC's anzugreifen, sondern k&ouml;nnen ihr + Engagement auf diese Server konzentrieren - und damit unter + Umst&auml;nden mit einem einzigen gelungenen Angriff Millionen + von Rechnern unbrauchbar machen.</li> + <li>Es bedarf keiner ausgesprochen ausgepr&auml;gten Phantasie, + um sich auszumalen, wie &raquo;Palladium&laquo; mit + unerw&uuml;nschten Konkurrenzprodukten verfahren kann: Sollen + bestimmte Softwareprodukte anderer Hersteller als + &raquo;Microsoft&laquo; nicht als &raquo;konform&laquo; + zertifiziert werden, so gen&uuml;gt es, sie auf die + &raquo;schwarze Liste&laquo; des + &raquo;Palladium&laquo;-Systems zu setzen. Bei einem Start + solcher Software w&auml;re der Rechner nur noch sehr + eingeschr&auml;nkt nutzbar, da &raquo;kompromittiert&laquo; - + jeder Anwender w&uuml;rde sich wohl zumindest &uuml;berlegen, + ob er beim n&auml;chsten Mal nicht doch zur drittklassigen + Spyware aus dem Hause &raquo;Microsoft&laquo; greift.</li> + <li>Die Zertifizierungen f&uuml;r Software und Dateien kosten + Geld: Sch&auml;tzungen gehen von bis zu sechsstelligen + Dollarsummen aus f&uuml;r eine einzige Anwendung. Die Folge + dieser Lizenzierungspraxis w&auml;re, da&szlig; die + Freewareszene von der Bildfl&auml;che verschwindet. Viele + tausend Programmierer, die unter oftmals gro&szlig;em + pers&ouml;nlichen Engagament und erheblichem Zeitaufwand + ansehnliche Projekte als Freeware entwickelt haben, h&auml;tten + keine M&ouml;glichkeit und auch keine Motivation mehr, ihre oft + wirklich innovativen Projekte der Anwendergemeinde zur + Verf&uuml;gung zu stellen dank der kriminellen Krake + &raquo;Microsoft&laquo;.</li> + <li>Der gesamte von der GPL-Lizenz abgedeckte Bereich + w&uuml;rde ebenfalls sang- und klanglos vor dem Aus stehen, da + auch hier zun&auml;chst erhebliche Betr&auml;ge in eine + Zertifizierung gesteckt werden m&uuml;&szlig;ten, denen keine + Einnahmen gegen&uuml;berstehen. Die wohl gef&auml;hrlichste + Konkurrenz f&uuml;r &raquo;Microsoft&laquo;, n&auml;mlich die + oftmals aus idealistischer und moralischer Intention heraus + handelnden freien Entwickler, die ihre Software unter der + GPL-Lizenz vertreiben, w&auml;re mit einem Schlag + ausgeschaltet.</li> + <li>Dem uns&auml;glichen Monopol der Firma + &raquo;Microsoft&laquo; im Betriebssystemmarkt w&uuml;rde ein + weiterer nachhaltiger Schub verliehen, denn Konkurrenzsysteme + m&uuml;&szlig;ten, um mit dem Fritz-Chip und damit letztendlich + auch mit &raquo;Palladium&laquo; zu harmonieren, ebenfalls + &raquo;TCPA-konform&laquo; gestaltet werden. F&uuml;r OS/2 WARP + ebenso wie f&uuml;r die meisten Linux-Distributionen und auch + Systeme wie FreeBSD, NetBSD oder auch BeOS und (mit + Einschr&auml;nkungen) QNX w&uuml;rde der Zwang zur + &raquo;TCPA-&laquo; und + &raquo;Palladium&laquo;-Konformit&auml;t das Verschwinden vom + EDV-Markt bedeuten, denn ohne diese Konformit&auml;t + w&uuml;rden diese meist besseren Betriebssysteme als + &raquo;unsicher&laquo; gelten. OS/2 WARP und die eComStation + w&uuml;rden aus den gro&szlig;en Banken und Versicherungen, bei + TK-Dienstleistern und bei den anderen Anwendern im + professionellen Umfeld ge&auml;chtet und von den Festplatten + verbannt zugunsten der wesentlich schlechteren + &raquo;Windows&laquo;-Systeme. Die einzige Alternative bliebe + nach dem derzeitigen Stand der Dinge HP-Linux, da HP bereits an + der &raquo;TCPA-&laquo; und + &raquo;Palladium&laquo;-Konformit&auml;t seines Linux + arbeitet.</li> + <li>Mit dem &raquo;Palladium&laquo;-System w&uuml;rde die + offene, basisdemokratische Struktur des Internet endg&uuml;ltig + zu Grabe getragen und einem Meinungs- und Zensurmonopol der + Firma &raquo;Microsoft&laquo; weichen. &raquo;Microsoft&laquo; + k&ouml;nnte &uuml;ber die variable Gestaltung von + Zertifizierungsgeb&uuml;hren die Weiterverbreitung kritischer + Dokumente im Internet oder im Rahmen von + Software-Distributionen verhindern. Obendrein w&auml;ren alle + Newsdienste au&szlig;er den &raquo;Microsoft&laquo;-eigenen + davon betroffen - freiwillige, sehr anerkennenswerte + Initiativen wie beispielsweise auch die VOICE, die sich der + Aufkl&auml;rung der OS/2-Gemeinde verschrieben hat, + m&uuml;&szlig;ten f&uuml;r die einzelnen Beitr&auml;ge + Zertifizierungsgeb&uuml;hren an &raquo;Microsoft&laquo; zahlen + f&uuml;r die &raquo;Palladium&laquo;-Konformit&auml;t, um nicht + auf der &raquo;schwarzen Liste&laquo; der DRL-Server zu landen. + Das Internet als Transporteur basisdemokratischer Ideale + w&auml;re zerst&ouml;rt und zu einem Sprachrohr von + &raquo;Microsoft&laquo; verkommen.</li> + <li>Durch die enge Kopplung der + &raquo;Palladium&laquo;-Technologie in Kooperation mit dem + Fritz-Chip an Hard- und Software w&uuml;rde der + Gebrauchtsoftwaremarkt zum Erliegen kommen - weil bereits + einmal durch TCPA und &raquo;Palladium&laquo; zertifizierte + Software aufgrund der Verschl&uuml;sselung untrennbar an die + Hardware gekoppelt ist. F&uuml;r &raquo;Microsoft&laquo; + erf&uuml;llt sich damit ein lange gehegter Traum: Jeder + K&auml;ufer eines PC mu&szlig; Software aus Redmond neu kaufen, + da die alte Software nur &uuml;ber eine Seriennummern-Freigabe + auf ein anderes Ger&auml;t &uuml;bertragbar w&auml;re - und + davon steht nicht ein einziges Wort in den entsprechenden + Standardisierungs-Richtlinien.</li> + </ol> + <p>Das hier geschilderte Horrorszenario erscheint keineswegs + abwegig: Bill Gates hat mit der Unterhaltungsindustrie starke + Kombattanten im R&uuml;cken, denen es genauso wie ihm um die + Profitmaximierung um jeden Preis geht - auch wenn dabei + demokratische und ethische Prinzipien nicht nur ausgeh&ouml;hlt, + sondern offen mit F&uuml;&szlig;en getreten werden und auf der + Strecke bleiben. Offen diskutiert werden die Folgen seiner + Technologie noch nicht; bislang hat Gates gr&ouml;&szlig;ten Wert + darauf gelegt, sich stets &ouml;ffentlich und lauthals als + Vork&auml;mpfer gegen Raubkopierertum zum Wohle der Software- und + der Unterhaltungsindustrie und auch zum angeblichen Nutzen des + Endverbrauchers zu gerieren - mit &raquo;Palladium&laquo; jedoch + &uuml;berschreitet &raquo;Microsoft&laquo; im Halbdunkel ein- + f&uuml;r allemal eine Grenze, die dem vermeintlichen + Vork&auml;mpfer Gates f&uuml;r die Durchsetzung von + Urheberrechten bislang Fesseln anlegte: Nun geht es um die + vollkommene Kontrolle der Informationsgesellschaft durch einen + Konzern, der krimineller Machenschaften mehrfach + &uuml;berf&uuml;hrt ist - die Weltherrschaft einer einzelnen + kleinen Clique im Mediensektor droht, und das auch noch mit + blau&auml;ugiger Zustimmung einiger international agierender + Medienkonzerne, die bisher offenbar noch gar nicht realisiert + haben, da&szlig; sie sich mit ihrer offensichtlich blinden + Profitsucht einem Mann ausliefern, den andere als den + gef&auml;hrlichsten Zeitgenossen seit Adolf Hitler + betrachten.</p> + <p>Es wird Zeit, da&szlig; die Demokraten unter den EDV-Profis + und -Anwendern endlich aus ihrem Dornr&ouml;schenschlaf + aufwachen, denn:</p> + <blockquote> + &raquo;Man darf nicht warten, bis aus dem Schneeball eine + Lawine geworden ist. Man mu&szlig; den rollenden Schneeball + zertreten. Die Lawine h&auml;lt keiner mehr auf. Sie ruht erst, + wenn sie alles unter sich begraben hat...&laquo;<br /> + /Erich K&auml;stner/ + </blockquote> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-660397.txt b/regression_testing/cases/legacy-expects/case-660397.txt new file mode 100644 index 0000000..6177aa1 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-660397.txt @@ -0,0 +1,15 @@ +line 3 column 1 - Warning: inserting missing 'title' element +Info: Doctype given is "-//W3C//DTD HTML 4.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Transitional +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-671087.html b/regression_testing/cases/legacy-expects/case-671087.html new file mode 100644 index 0000000..92ef17f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-671087.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>tidy loops with --new-inline-tags table,tr,td</title> +</head> +<body> + <table summary="tidy loops with --new-inline-tags table,tr,td"> + <tr> + <th>table heading</th> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-671087.txt b/regression_testing/cases/legacy-expects/case-671087.txt new file mode 100644 index 0000000..fbcf0d6 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-671087.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-676156.html b/regression_testing/cases/legacy-expects/case-676156.html new file mode 100644 index 0000000..7aa731a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-676156.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> +<title></title> +</head> +<body> +foo bar <!-- [ 676156 ] tidy --input-encoding is broken. + When run with file I/O and -utf8, foo gets truncated to "fo" +--> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-676156.txt b/regression_testing/cases/legacy-expects/case-676156.txt new file mode 100644 index 0000000..f919ebc --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-676156.txt @@ -0,0 +1,18 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: plain text isn't allowed in <head> elements +line 1 column 1 - Info: <head> previously mentioned +line 1 column 1 - Warning: inserting implicit <body> +line 1 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-676205.txt b/regression_testing/cases/legacy-expects/case-676205.txt new file mode 100644 index 0000000..73c03df --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-676205.txt @@ -0,0 +1,37 @@ +line 11 column 1 - Warning: <img> discarding newline in URI reference +line 11 column 1 - Warning: <img> discarding newline in URI reference +line 11 column 1 - Warning: <img> discarding newline in URI reference +line 14 column 1 - Warning: <img> end of file while parsing attributes +line 11 column 1 - Warning: <img> escaping malformed URI reference +line 11 column 1 - Warning: <img> illegal characters found in URI +line 11 column 1 - Warning: <img> lacks "alt" attribute +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Transitional +Tidy found 7 warnings and 0 errors! + +URIs must be properly escaped, they must not contain unescaped +characters below U+0021 including the space character and not +above U+007E. Tidy escapes the URI for you as recommended by +HTML 4.01 section B.2.1 and XML 1.0 section 4.2.2. Some user agents +use another algorithm to escape such URIs and some server-sided +scripts depend on that. If you want to depend on that, you must +escape the URI on your own. For more information please refer to +http://www.w3.org/International/O-URL-and-ident.html + +The alt attribute should be used to give a short description +of an image; longer descriptions should be given with the +longdesc attribute which takes a URL linked to the description. +These measures are needed for people using non-graphical browsers. + +For further advice on how to make your pages accessible +see http://www.w3.org/WAI/GL. +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-676205.xhtml b/regression_testing/cases/legacy-expects/case-676205.xhtml new file mode 100644 index 0000000..50e8b41 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-676205.xhtml @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" + xml:lang="en" + lang="en"> +<head> + <title>[ 676205 ] &lt;img src="&gt; crashes Tidy</title> + <meta http-equiv="Content-Type" + content="text/html; charset=iso-8859-1" /> +</head> +<body> + <img src="%3E%3C/body%3E%3C/html%3E" /> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-678268.html b/regression_testing/cases/legacy-expects/case-678268.html new file mode 100644 index 0000000..e2f1627 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-678268.html @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!DOCTYPE html> +<html xmlns:msxsl="urn:schemas-microsoft-com:xslt" + xmlns:user="Primus" + xmlns="http://www.w3.org/1999/xhtml"> +<head> + <!-- [ 678268 ] ==output-xhtml produces bad xml --> + <title>Error: File Copy Error! File=C:\WinNT\ + System32\PERFLIB_PERFDATA_<#>.DAT (copying to a + '.fil'). </TITLE> + </HEAD> + <BODY> + Error: File Copy Error! File=C:\WinNT\ + System32\PERFLIB_PERFDATA_ + <#>.DAT (copying to a '.fil').</title> +</head> +<body> + <table> + <tr> + <td class="CellLabel">id</td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-678268.txt b/regression_testing/cases/legacy-expects/case-678268.txt new file mode 100644 index 0000000..c6a68fc --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-678268.txt @@ -0,0 +1,19 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 3 column 17 - Info: tidy replaced adjacent "-" with "=" +line 4 column 1 - Warning: missing </title> before <table> +line 12 column 1 - Warning: inserting implicit <body> +line 1 column 1 - Warning: <html> proprietary attribute "xmlns:msxsl" +line 1 column 1 - Warning: <html> proprietary attribute "xmlns:user" +Info: Document content looks like XHTML5 +Tidy found 5 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-688746.html b/regression_testing/cases/legacy-expects/case-688746.html new file mode 100644 index 0000000..e7e936e --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-688746.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html> +<head> +<title>[ 688746 ] incorrect charset value for utf-8</title> +<!-- use "--char-encoding: ut8" in config file --> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> +<!-- should be content="text/html; charset=UTF-8" --> +</head> +<body> +<p><b>How to…</b><br> +Place an extended-hours order:</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-688746.txt b/regression_testing/cases/legacy-expects/case-688746.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-688746.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-695408.html b/regression_testing/cases/legacy-expects/case-695408.html new file mode 100644 index 0000000..005eae0 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-695408.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ 695408 ] Empty spans getting dropped, even if they have + attrs</title> +</head> +<body> + <table> + <tr> + <td><span datafld="A"></span></td> + <td><span datafld="B"></span></td> + <td><span datafld="C"></span></td> + </tr> + </table> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-695408.txt b/regression_testing/cases/legacy-expects/case-695408.txt new file mode 100644 index 0000000..72307b7 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-695408.txt @@ -0,0 +1,20 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 8 column 11 - Info: value for attribute "datafld" missing quote marks +line 9 column 11 - Info: value for attribute "datafld" missing quote marks +line 10 column 11 - Info: value for attribute "datafld" missing quote marks +line 8 column 11 - Warning: <span> proprietary attribute "datafld" +line 9 column 11 - Warning: <span> proprietary attribute "datafld" +line 10 column 11 - Warning: <span> proprietary attribute "datafld" +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-696799.html b/regression_testing/cases/legacy-expects/case-696799.html new file mode 100644 index 0000000..bdba1d3 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-696799.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ 696799 ] Crash: &lt;script language=""&gt;</title> +</head> +<body> + <script language=""> + + <!-- + document.write("<p>foo!<\/p>"); + //--> + </script> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-696799.txt b/regression_testing/cases/legacy-expects/case-696799.txt new file mode 100644 index 0000000..b445b3a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-696799.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-706260.html b/regression_testing/cases/legacy-expects/case-706260.html new file mode 100644 index 0000000..400121a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-706260.html @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" + lang="en" + xml:lang="en"> +<head> + <title>#706260 size not accepted for input</title> +</head> +<body> + <form action="#"> + <input accesskey="1" + type="text" + id="uri" + name="uri" + size="24" /> + </form> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-706260.txt b/regression_testing/cases/legacy-expects/case-706260.txt new file mode 100644 index 0000000..5bd258a --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-706260.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-765852.html b/regression_testing/cases/legacy-expects/case-765852.html new file mode 100644 index 0000000..f05a643 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-765852.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> +<head> + <title>#765852 Empty tag striping</title> +</head> +<body> + <p>Text following <em>italics</em>without a blank after the i end + tag is not cleaned up correctly (the bold blank is + eliminated).</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-765852.txt b/regression_testing/cases/legacy-expects/case-765852.txt new file mode 100644 index 0000000..1c5a512 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-765852.txt @@ -0,0 +1,21 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 3 column 1 - Warning: inserting implicit <body> +line 3 column 29 - Warning: trimming empty <b> +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +One or more empty elements were present in the source document but +dropped on output. If these elements are necessary or you don't want +this behavior, then consider setting the option "drop-empty-elements" +to no. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-795643a.html b/regression_testing/cases/legacy-expects/case-795643a.html new file mode 100644 index 0000000..f55a604 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-795643a.html @@ -0,0 +1,2 @@ +<p>Hi</p> + diff --git a/regression_testing/cases/legacy-expects/case-795643a.txt b/regression_testing/cases/legacy-expects/case-795643a.txt new file mode 100644 index 0000000..62a2264 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-795643a.txt @@ -0,0 +1,16 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: inserting implicit <body> +line 1 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like HTML5 +Tidy found 3 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-795643b.html b/regression_testing/cases/legacy-expects/case-795643b.html new file mode 100644 index 0000000..c60d910 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-795643b.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> +<title></title> +</head> +<body> +<p>Hi</p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-795643b.txt b/regression_testing/cases/legacy-expects/case-795643b.txt new file mode 100644 index 0000000..e6aa8af --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-795643b.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 1 column 1 - Warning: inserting missing 'title' element +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-836462a.html b/regression_testing/cases/legacy-expects/case-836462a.html new file mode 100644 index 0000000..b643edc --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-836462a.html @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>836462</title> + <style type="text/css"> + li.c1 {list-style: none; display: inline} + </style> +</head> +<body> + <h3>Heading</h3> + <ul> + <li> + <p>First list item</p> + </li> + <li> + <p>Second list item</p> + </li> + <li> + <p>Third list item</p> + </li> + <li class="c1"> + <ul> + <li> + <p>First list item 2</p> + </li> + <li> + <p>Second list item 2</p> + </li> + </ul> + </li> + <li> + <p>Fourth list item</p> + </li> + <li> + <p>Fifth list item</p> + </li> + </ul> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-836462a.txt b/regression_testing/cases/legacy-expects/case-836462a.txt new file mode 100644 index 0000000..993dd5f --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-836462a.txt @@ -0,0 +1,17 @@ +line 13 column 3 - Warning: missing <li> +line 13 column 3 - Info: missing optional end tag </li> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-836462b.html b/regression_testing/cases/legacy-expects/case-836462b.html new file mode 100644 index 0000000..2dc66ee --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-836462b.html @@ -0,0 +1,34 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> +<html> +<head> + <title>836462-2</title> +</head> +<body> + <h3>Heading</h3> + <ol> + <li> + <p>First ordered list item</p> + </li> + <li> + <p>Second ordered list item</p> + </li> + <li> + <p>Third ordered list item</p> + <ul> + <li> + <p>First unordered list item</p> + </li> + <li> + <p>Second unordered list item</p> + </li> + </ul> + </li> + <li> + <p>Fourth unordered list item</p> + </li> + <li> + <p>Fifth unordered list item</p> + </li> + </ol> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-836462b.txt b/regression_testing/cases/legacy-expects/case-836462b.txt new file mode 100644 index 0000000..f4cf911 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-836462b.txt @@ -0,0 +1,17 @@ +line 13 column 3 - Warning: missing <li> +line 12 column 3 - Info: missing optional end tag </li> +Info: Doctype given is "-//W3C//DTD HTML 4.01//EN" +Info: Document content looks like HTML 4.01 Strict +Info: No system identifier in emitted doctype +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-836462c.html b/regression_testing/cases/legacy-expects/case-836462c.html new file mode 100644 index 0000000..354e47b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-836462c.html @@ -0,0 +1,18 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>test</title> + <style type="text/css"> + /*<![CDATA[*/ + li.c1 {list-style: none} + /*]]>*/ + </style> +</head> +<body> + <ol> + <!-- comment --> + <li class="c1"><br /></li> + </ol> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-836462c.txt b/regression_testing/cases/legacy-expects/case-836462c.txt new file mode 100644 index 0000000..65dec8b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-836462c.txt @@ -0,0 +1,15 @@ +line 6 column 1 - Warning: missing <li> +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Strict +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-837023.html b/regression_testing/cases/legacy-expects/case-837023.html new file mode 100644 index 0000000..7a5e48b --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-837023.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> + <title>[ 837023 ] segfault on doctype-like element</title> +</head> +<body> + Just text. +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-837023.txt b/regression_testing/cases/legacy-expects/case-837023.txt new file mode 100644 index 0000000..dfbe641 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-837023.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 9 column 7 - Warning: discarding malformed <!DOCTYPE> +Info: Document content looks like HTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-978947.html b/regression_testing/cases/legacy-expects/case-978947.html new file mode 100644 index 0000000..d237628 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-978947.html @@ -0,0 +1,22 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> + <meta http-equiv="content-type" + content="text/html; charset=iso-8859-1"> + <meta name="AUTHOR" + content="Christian Engstrm"> + <title>Bug: &amp;nbsp; disappears after &lt;/pre&gt;</title> +</head> +<body lang="en-US"> + Here the non-breaking spaces (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;) + remain. + <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Works multiple times + (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;) as well.<br> + But&nbsp;.&nbsp;.&nbsp;.&nbsp;&nbsp;:</p> + <pre> +A block of +preformatted text. +</pre>Now the non-breaking spaces (&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;) +are replaced with ordinary spaces, and disappear. +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-978947.txt b/regression_testing/cases/legacy-expects/case-978947.txt new file mode 100644 index 0000000..9ac01ed --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-978947.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like HTML 4.01 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/legacy-expects/case-996484.html b/regression_testing/cases/legacy-expects/case-996484.html new file mode 100644 index 0000000..8d06748 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-996484.html @@ -0,0 +1,58 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>test whether xx&lt;...&gt;yy&lt;/...&gt; is wrapped + properly</title> +</head> +<body> + <p>test 1.1 (no space)</p> + <p>xx<span id="qqqqqqqqqqqq11" + title= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">yy</span></p> + <p>test 1.2 (with space)</p> + <p>xx <span id="qqqqqqqqqqqq12" + title= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"> + yy</span></p> + <p>test 1.3 (with non breaking space)</p> + <p>xx&nbsp;<span id="qqqqqqqqqqqq13" + title= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">yy</span></p> + <p>test 2.1 (no space)</p> + <p>xx<span id="qqqqqqqqqqqq21" + title= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"><cite>yy</cite></span></p> + <p>test 2.2 (with space)</p> + <p>xx <span id="qqqqqqqqqqqq22" + title= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"> + <cite>yy</cite></span></p> + <p>test 2.3 (with non breaking space)</p> + <p>xx&nbsp;<span id="qqqqqqqqqqqq23" + title= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"><cite>yy</cite></span></p> + <p>test 3 (no space)</p> + <p><img src="http://www.w3.org/Icons/w3c_main" + alt= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />x</p> + <p><span><img src="http://www.w3.org/Icons/w3c_main" + alt= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" />x</span></p> + <p>test 4 (&lt;br&gt;)</p> + <p><a href= + "mailto:xxxxxxxxxxxxxxxx@yyyyyyyyyyyyyyyyyyyyy">zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz</a><br /> + + xx</p> + <p>test 5 (no space in the front)</p> + <p><span title= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"> + aa</span></p> + <p>test 6 (no space in the front)</p> + <p><span title= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"> + aa</span><img src="http://www.w3.org/Icons/w3c_main" + alt= + "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" /></p> +</body> +</html> diff --git a/regression_testing/cases/legacy-expects/case-996484.txt b/regression_testing/cases/legacy-expects/case-996484.txt new file mode 100644 index 0000000..5608b73 --- /dev/null +++ b/regression_testing/cases/legacy-expects/case-996484.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Strict//EN" +Info: Document content looks like XHTML 1.0 Strict +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-cases/README.txt b/regression_testing/cases/xml-cases/README.txt new file mode 100644 index 0000000..2c5fc36 --- /dev/null +++ b/regression_testing/cases/xml-cases/README.txt @@ -0,0 +1,19 @@ +README for XML Test Cases: +========================== + +This test suite contains files for regression testing HTML Tidy's XML output. +Note that the following tests are duplicated in the standard test cases, and +are present here because they were present in the original XML testing script, +despite their being non-XML files: + +Case Exit Code Duplicates +------ --------- ---------- +432677 0 cases +434100 2 cases +473490 1 cases +542029 1 cases +586555 1 cases +634889 1 cases + +The original XML testing script only checked Tidy’s exit status. All of the +current testing checks exit status as well as performs an output comparison. diff --git a/regression_testing/cases/xml-cases/case-1003994.conf b/regression_testing/cases/xml-cases/case-1003994.conf new file mode 100644 index 0000000..926bb5e --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1003994.conf @@ -0,0 +1 @@ +input-xml: yes diff --git a/regression_testing/cases/xml-cases/case-1003994@2.xml b/regression_testing/cases/xml-cases/case-1003994@2.xml new file mode 100644 index 0000000..f51e5db --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1003994@2.xml @@ -0,0 +1,10 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<html> +<head> +<meta name="generator" content= +"HTML Tidy for Linux/x86 (vers 1st March 2005), see www.w3.org"> +<title></title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/xml-cases/case-1004008.conf b/regression_testing/cases/xml-cases/case-1004008.conf new file mode 100644 index 0000000..926bb5e --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1004008.conf @@ -0,0 +1 @@ +input-xml: yes diff --git a/regression_testing/cases/xml-cases/case-1004008@1.xml b/regression_testing/cases/xml-cases/case-1004008@1.xml new file mode 100644 index 0000000..2b34bbf --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1004008@1.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<root></root> +&#34; diff --git a/regression_testing/cases/xml-cases/case-1030944.conf b/regression_testing/cases/xml-cases/case-1030944.conf new file mode 100644 index 0000000..cc98e2e --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1030944.conf @@ -0,0 +1,3 @@ +input-xml: yes +output-xml: yes +char-encoding: latin1 diff --git a/regression_testing/cases/xml-cases/case-1030944@0.xml b/regression_testing/cases/xml-cases/case-1030944@0.xml new file mode 100644 index 0000000..2d6e122 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1030944@0.xml @@ -0,0 +1 @@ +<x xml:lang="de" /> diff --git a/regression_testing/cases/xml-cases/case-1365706.conf b/regression_testing/cases/xml-cases/case-1365706.conf new file mode 100644 index 0000000..bcd9a57 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1365706.conf @@ -0,0 +1,4 @@ +input-xml: yes +output-xml: yes +indent: auto +wrap: 0 diff --git a/regression_testing/cases/xml-cases/case-1365706@0.xml b/regression_testing/cases/xml-cases/case-1365706@0.xml new file mode 100644 index 0000000..7bf7aa2 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1365706@0.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE dictionary +SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd"> +<dictionary title="Demo XML space issues"> + <suite name="Test Suite" description="Keeping spaces with +break tags"> + <doc name="a lost space"> + <html> +There is no <b>space</b> after <code>tagged</code> +words.</html> + </doc> + <doc name="b using xml:space preserve"> + <html xml:space="preserve"> +There is <b>space</b> after <code>tagged</code> +words.</html> + </doc> + <doc name="c using pre"> + <html> + <pre> +There is <b>space</b> after <code>tagged</code> words.</pre> + </html> + </doc> + </suite> +</dictionary> diff --git a/regression_testing/cases/xml-cases/case-1448730.conf b/regression_testing/cases/xml-cases/case-1448730.conf new file mode 100644 index 0000000..20a27f0 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1448730.conf @@ -0,0 +1,2 @@ +input-xml: yes +output-xml: yes diff --git a/regression_testing/cases/xml-cases/case-1448730@0.xml b/regression_testing/cases/xml-cases/case-1448730@0.xml new file mode 100644 index 0000000..5ced6a3 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1448730@0.xml @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<doc> +<blah>here is some <b>bold</b> text and here's a <customtag>customtag +content</customtag> who's preceding space will be stripped.</blah> +</doc> diff --git a/regression_testing/cases/xml-cases/case-1510101.conf b/regression_testing/cases/xml-cases/case-1510101.conf new file mode 100644 index 0000000..bcd9a57 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1510101.conf @@ -0,0 +1,4 @@ +input-xml: yes +output-xml: yes +indent: auto +wrap: 0 diff --git a/regression_testing/cases/xml-cases/case-1510101@0.xml b/regression_testing/cases/xml-cases/case-1510101@0.xml new file mode 100644 index 0000000..c203001 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1510101@0.xml @@ -0,0 +1,11 @@ +<?xml version="1.0"?> +<entities init=""> + +<entity> + <pattern><re><![CDATA[.pt/200[6789]]]> </re></pattern> + <outputs> + <output unique="yes"><attribute>hostname</attribute><separator>; </separator><format eval="no"><![CDATA[Jornal de Notícias]]></format></output> + </outputs> +</entity> + +</entities> diff --git a/regression_testing/cases/xml-cases/case-1573338.conf b/regression_testing/cases/xml-cases/case-1573338.conf new file mode 100644 index 0000000..3fd658e --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1573338.conf @@ -0,0 +1,6 @@ +input-xml: yes +output-xml: yes +indent: auto +literal-attributes: yes +indent-attributes: yes +wrap: 78 diff --git a/regression_testing/cases/xml-cases/case-1573338@0.xml b/regression_testing/cases/xml-cases/case-1573338@0.xml new file mode 100644 index 0000000..387b1db --- /dev/null +++ b/regression_testing/cases/xml-cases/case-1573338@0.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<pdu xx=" ww" comment=" +Byte 1:BAP" /> diff --git a/regression_testing/cases/xml-cases/case-427837.conf b/regression_testing/cases/xml-cases/case-427837.conf new file mode 100644 index 0000000..d0a3ff9 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-427837.conf @@ -0,0 +1,5 @@ +// Tidy configuration file for bug #427837 +// add-xml-decl: yes +input-xml: yes +output-xml: yes +char-encoding: latin1 diff --git a/regression_testing/cases/xml-cases/case-427837@0.xml b/regression_testing/cases/xml-cases/case-427837@0.xml new file mode 100644 index 0000000..e5feff0 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-427837@0.xml @@ -0,0 +1,4 @@ +<names> + <name>Bj&#246;rn H&#246;hrmann</name> + <name>Marc-Andr&#233; Lemburg</name> +</names> diff --git a/regression_testing/cases/xml-cases/case-431956.conf b/regression_testing/cases/xml-cases/case-431956.conf new file mode 100644 index 0000000..15c7314 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-431956.conf @@ -0,0 +1,3 @@ +// Tidy configuration file for bug #431956 +input-xml: yes +output-xml: yes diff --git a/regression_testing/cases/xml-cases/case-431956@0.xml b/regression_testing/cases/xml-cases/case-431956@0.xml new file mode 100644 index 0000000..ffd34b8 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-431956@0.xml @@ -0,0 +1,8 @@ +<!--[ #431956 ] Well formed XSL <xsl:text> gives error--> +<!-- Use -xml on command line --> +<!--FAILS (Tidy returns zero length string):--> +<!--========================================--> +<?xml version="1.0"?> +<xsl:stylesheet version="1.0"> + <xsl:text>Test</xsl:text> +</xsl:stylesheet> diff --git a/regression_testing/cases/xml-cases/case-432677.conf b/regression_testing/cases/xml-cases/case-432677.conf new file mode 100644 index 0000000..4e73e6d --- /dev/null +++ b/regression_testing/cases/xml-cases/case-432677.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #432677 +output-xml: yes diff --git a/regression_testing/cases/xml-cases/case-432677@0.html b/regression_testing/cases/xml-cases/case-432677@0.html new file mode 100644 index 0000000..96fc733 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-432677@0.html @@ -0,0 +1,14 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head><title>[ #432677 ] Null value changed to "value" for -asxml</title></head> +<body> + <form action="http://www.w3c.org/" method="get"> + <select name="option"> + <option value>option 1</option> <!-- BAD VALUE --> + <option value="opt2">option 2</option> + </select> + <input name="input" type="text" value> <!-- BAD VALUE --> + <input name="submit" type="submit" value="submit"> + </form> +</body> +</html> diff --git a/regression_testing/cases/xml-cases/case-433604.conf b/regression_testing/cases/xml-cases/case-433604.conf new file mode 100644 index 0000000..2a03e4c --- /dev/null +++ b/regression_testing/cases/xml-cases/case-433604.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #433604 +input-xml: yes diff --git a/regression_testing/cases/xml-cases/case-433604@0.xml b/regression_testing/cases/xml-cases/case-433604@0.xml new file mode 100644 index 0000000..81c0b65 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-433604@0.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<text>[ #433604 ] Tidy inserts &amp;nbsp; entity in -xml mode. +Use -xml on command line. +Test of &#160;</text> diff --git a/regression_testing/cases/xml-cases/case-433607.conf b/regression_testing/cases/xml-cases/case-433607.conf new file mode 100644 index 0000000..e4478c3 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-433607.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #433607 +input-xml: yes diff --git a/regression_testing/cases/xml-cases/case-433607@0.xml b/regression_testing/cases/xml-cases/case-433607@0.xml new file mode 100644 index 0000000..6772784 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-433607@0.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<text>[ #433607 ] No warning for omitted end tag with -xml. +Use -xml on command line. diff --git a/regression_testing/cases/xml-cases/case-433670.conf b/regression_testing/cases/xml-cases/case-433670.conf new file mode 100644 index 0000000..9cc682f --- /dev/null +++ b/regression_testing/cases/xml-cases/case-433670.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #433670 +input-xml: yes diff --git a/regression_testing/cases/xml-cases/case-433670@0.xml b/regression_testing/cases/xml-cases/case-433670@0.xml new file mode 100644 index 0000000..a421298 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-433670@0.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<text>[ #433670 ] &amp;apos not recognized as valid XML entity. +Use -xml on command line. +Test of &apos;</text> diff --git a/regression_testing/cases/xml-cases/case-434100.conf b/regression_testing/cases/xml-cases/case-434100.conf new file mode 100644 index 0000000..713d5d5 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-434100.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #434100 +input-xml: yes \ No newline at end of file diff --git a/regression_testing/cases/xml-cases/case-434100@2.html b/regression_testing/cases/xml-cases/case-434100@2.html new file mode 100644 index 0000000..1c33b1c --- /dev/null +++ b/regression_testing/cases/xml-cases/case-434100@2.html @@ -0,0 +1,13 @@ +<html xmlns:o="urn:schemas-microsoft-com:office:office" +xmlns:w="urn:schemas-microsoft-com:office:word" +xmlns="http://www.w3.org/TR/REC-html40"> + +<!-- use "-xml" on command line --> +<head> +<meta http-equiv=Content-Type content="text/html; charset=windows-1252"> +<meta name=ProgId content=Word.Document> +<meta name=Generator content="Microsoft Word 9"> +<meta name=Originator content="Microsoft Word 9"> +<link rel=File-List href="./issues_files/filelist.xml"> +<title>[ #434100 ] Error actually reported as a warning</title> +</head> diff --git a/regression_testing/cases/xml-cases/case-473490.conf b/regression_testing/cases/xml-cases/case-473490.conf new file mode 100644 index 0000000..5567951 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-473490.conf @@ -0,0 +1,11 @@ +// Tidy configuration file for bug #473490 +tidy-mark: no +wrap: 0 +output-xhtml: yes +doctype: auto +quote-nbsp: yes +uppercase-tags: yes +quote-ampersand: yes +add-xml-space: no +show-warnings:no +quiet: yes diff --git a/regression_testing/cases/xml-cases/case-473490@1.html b/regression_testing/cases/xml-cases/case-473490@1.html new file mode 100644 index 0000000..03b0f8d --- /dev/null +++ b/regression_testing/cases/xml-cases/case-473490@1.html @@ -0,0 +1,11 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> +<HTML> +<HEAD> +<TITLE>[ #473490 ] DOCTYPE for Proprietary HTML to XHTML bad</TITLE> +</HEAD> +<BODY> +<nolayer> +<p>Test</p> +</nolayer> +</BODY> +</HTML> diff --git a/regression_testing/cases/xml-cases/case-480406.conf b/regression_testing/cases/xml-cases/case-480406.conf new file mode 100644 index 0000000..50bc5f5 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-480406.conf @@ -0,0 +1,3 @@ +// Tidy configuration file for bug #480406 +input-xml: yes +output-xml: yes diff --git a/regression_testing/cases/xml-cases/case-480406@0.xml b/regression_testing/cases/xml-cases/case-480406@0.xml new file mode 100644 index 0000000..63acee1 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-480406@0.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<!-- [ #480406 ] Single document element discarded - use "-xml" on command line --> +<test /> + diff --git a/regression_testing/cases/xml-cases/case-480701.conf b/regression_testing/cases/xml-cases/case-480701.conf new file mode 100644 index 0000000..9d95a80 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-480701.conf @@ -0,0 +1,3 @@ +// Tidy configuration file for bug #480701 +input-xml: yes +output-xhtml: yes diff --git a/regression_testing/cases/xml-cases/case-480701@0.xml b/regression_testing/cases/xml-cases/case-480701@0.xml new file mode 100644 index 0000000..4adae94 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-480701@0.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!-- [ #480701 ] -xml conflicts with -output-xhtml --> +<test> +<image rdf:resource="http://www.atmedia.net/"/> +</test> + +<!-- +Expected output: +<image rdf:resource="http://www.atmedia.net/"/> +or +<image rdf:resource="http://www.atmedia.net/"></image> + +Actual output: +<image rdf:resource="http://www.atmedia.net/"/></image> +--> \ No newline at end of file diff --git a/regression_testing/cases/xml-cases/case-500236.conf b/regression_testing/cases/xml-cases/case-500236.conf new file mode 100644 index 0000000..410fadf --- /dev/null +++ b/regression_testing/cases/xml-cases/case-500236.conf @@ -0,0 +1,5 @@ +// Tidy configuration file for bug #500236 +word-2000: yes +input-xml: yes +output-xml: yes + diff --git a/regression_testing/cases/xml-cases/case-500236@0.xml b/regression_testing/cases/xml-cases/case-500236@0.xml new file mode 100644 index 0000000..8256173 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-500236@0.xml @@ -0,0 +1,10 @@ +<!-- use "--word-2000 yes -xml" on command line --> + +<!-- Test case for MS Access files failing with Error: missing quote mark for attribute value --> + + + +<PARAM NAME="XMLData" VALUE="<xml xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot;>&#13;&#10; + +<a:something></a:something><a:something></a:something></xml>'&quot;"> + diff --git a/regression_testing/cases/xml-cases/case-503436.conf b/regression_testing/cases/xml-cases/case-503436.conf new file mode 100644 index 0000000..8a380d2 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-503436.conf @@ -0,0 +1,2 @@ +// Tidy configuration file for bug #503436 +input-xml: yes diff --git a/regression_testing/cases/xml-cases/case-503436@1.xml b/regression_testing/cases/xml-cases/case-503436@1.xml new file mode 100644 index 0000000..9e3bd88 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-503436@1.xml @@ -0,0 +1,8 @@ +<html> +<head> +<title>Testcase #503436</title> +</head> +<body> + <img src="image.gif" alt="first" alt="second" /> +</body> +</html> diff --git a/regression_testing/cases/xml-cases/case-537604.conf b/regression_testing/cases/xml-cases/case-537604.conf new file mode 100644 index 0000000..c41660f --- /dev/null +++ b/regression_testing/cases/xml-cases/case-537604.conf @@ -0,0 +1,3 @@ +// Tidy configuration file for bug #537604 +input-xml: yes +clean: no diff --git a/regression_testing/cases/xml-cases/case-537604@0.xml b/regression_testing/cases/xml-cases/case-537604@0.xml new file mode 100644 index 0000000..713d2c8 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-537604@0.xml @@ -0,0 +1,6 @@ +<?xml version="1.0"?> +<!-- [ 537604 ] Expansion of entity references in -xml --> +<!-- use "input-xml: yes " configuration options --> +<test> +this is a test of &copy;. &amp;, &lt;, &gt;, &apos;, &quot; must be recognized. +</test> diff --git a/regression_testing/cases/xml-cases/case-540045.conf b/regression_testing/cases/xml-cases/case-540045.conf new file mode 100644 index 0000000..d0a1e85 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-540045.conf @@ -0,0 +1,11 @@ +// Tidy configuration file for bug #540045 +wrap: 64 +indent: no +indent-spaces: 4 +add-xml-decl: yes +#output-xhtml: yes +break-before-br: yes +clean: yes +logical-emphasis: yes +enclose-text: yes +enclose-block-text: yes diff --git a/regression_testing/cases/xml-cases/case-540045@0.xhtml b/regression_testing/cases/xml-cases/case-540045@0.xhtml new file mode 100644 index 0000000..f730b1a --- /dev/null +++ b/regression_testing/cases/xml-cases/case-540045@0.xhtml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- use -config cfg_540045.txt --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta name="generator" content="HTML Tidy, see www.w3.org" /> +<title>[ 540045 ] Tidy strips all the IMG tags out!</title> +</head> +<body> +<img src="unst001s.png" alt="USA flag" /> +</body> +</html> \ No newline at end of file diff --git a/regression_testing/cases/xml-cases/case-542029.conf b/regression_testing/cases/xml-cases/case-542029.conf new file mode 100644 index 0000000..5b27d6f --- /dev/null +++ b/regression_testing/cases/xml-cases/case-542029.conf @@ -0,0 +1,3 @@ +// Tidy configuration file for bug #542029 +add-xml-decl: yes +output-xml: yes diff --git a/regression_testing/cases/xml-cases/case-542029@1.html b/regression_testing/cases/xml-cases/case-542029@1.html new file mode 100644 index 0000000..2d2aff5 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-542029@1.html @@ -0,0 +1,9 @@ +<html> +<!-- use -config cfg_542029.txt --> +<head> +<title>[ 542029 ] PPrintXmlDecl reads outside array range</title> +</head> +<body> +Test +</body> +</html> diff --git a/regression_testing/cases/xml-cases/case-586555.conf b/regression_testing/cases/xml-cases/case-586555.conf new file mode 100644 index 0000000..f458aea --- /dev/null +++ b/regression_testing/cases/xml-cases/case-586555.conf @@ -0,0 +1,25 @@ +wrap: 68 +tab-size: 4 +repeated-attributes: keep-last +alt-text: None, says tidy +show-warnings: no +quiet: yes +indent: auto +indent-attributes: yes +output-xml: yes +output-xhtml: yes +add-xml-decl: yes +bare: yes +logical-emphasis: yes +drop-proprietary-attributes: yes +break-before-br: yes +quote-nbsp: no +assume-xml-procins: yes +keep-time: no +word-2000: yes +tidy-mark: no +literal-attributes: yes +hide-comments: yes +ascii-chars: no +join-styles: no +output-bom: no diff --git a/regression_testing/cases/xml-cases/case-586555@1.html b/regression_testing/cases/xml-cases/case-586555@1.html new file mode 100644 index 0000000..6275b4c --- /dev/null +++ b/regression_testing/cases/xml-cases/case-586555@1.html @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>[ 586555 ] Misplaced backslash caused by newline</title> +</head> +<body> +<p>[ 586555 ] Misplaced backslash caused by newline</p> + +<area shape="rect" coords="236,24,329,39" +href="../../mitarbeiter/index.html" +onmouseout="di20('nav_oben_leben_r2_c02','navigation/nav_oben_leben_r2 +_c02.gif');" + onmouseover="di20('nav_oben_leben_r2_c02','navigation/nav_oben_leben_r +2_c02_F10.gif');" /> +</body> +</html> + diff --git a/regression_testing/cases/xml-cases/case-616744.conf b/regression_testing/cases/xml-cases/case-616744.conf new file mode 100644 index 0000000..3911581 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-616744.conf @@ -0,0 +1,6 @@ +input-xml: yes +new-pre-tags: programlisting +new-inline-tags: literal +indent: no +indent-spaces: 0 +wrap: 999999 diff --git a/regression_testing/cases/xml-cases/case-616744@0.xml b/regression_testing/cases/xml-cases/case-616744@0.xml new file mode 100644 index 0000000..6bf25eb --- /dev/null +++ b/regression_testing/cases/xml-cases/case-616744@0.xml @@ -0,0 +1,12 @@ +<refentry> + <para> This is some stuff in a para. + There's a "<literal>command</literal>" +in it. + </para> + <blockquote><programlisting> + This line is indented 4 spaces. + + This (3rd) line is indented 8 spaces. + </programlisting></blockquote> +</refentry> + diff --git a/regression_testing/cases/xml-cases/case-634889.conf b/regression_testing/cases/xml-cases/case-634889.conf new file mode 100644 index 0000000..6ca6d8d --- /dev/null +++ b/regression_testing/cases/xml-cases/case-634889.conf @@ -0,0 +1,10 @@ +tidy-mark: no +output-xml: yes +drop-proprietary-attributes: no +new-inline-tags: o:lock, o:p, v-f, v-formula, v-formulas, + v-imagedata, v-path, v-shape, v-shapetype, v-stroke +new-empty-tags: +new-blocklevel-tags: +new-pre-tags: +wrap-sections: no +drop-empty-paras: no diff --git a/regression_testing/cases/xml-cases/case-634889@1.html b/regression_testing/cases/xml-cases/case-634889@1.html new file mode 100644 index 0000000..1747b79 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-634889@1.html @@ -0,0 +1,9 @@ +<html> +<head> + <title>[ 634889 ] Problem with &lt;o:p&gt; ms word tag</title> +</head> +<body> + <p>Probably OK, now that ParseTagNames() is fixed.</p> + <o:p></o:p> +</body> +</html> diff --git a/regression_testing/cases/xml-cases/case-640474.conf b/regression_testing/cases/xml-cases/case-640474.conf new file mode 100644 index 0000000..c0b1c2b --- /dev/null +++ b/regression_testing/cases/xml-cases/case-640474.conf @@ -0,0 +1,5 @@ +// Tidy configuration file for bug #640474 +// add-xml-decl: yes +input-xml: yes +output-xml: yes +char-encoding: latin1 diff --git a/regression_testing/cases/xml-cases/case-640474@0.xml b/regression_testing/cases/xml-cases/case-640474@0.xml new file mode 100644 index 0000000..e5feff0 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-640474@0.xml @@ -0,0 +1,4 @@ +<names> + <name>Bj&#246;rn H&#246;hrmann</name> + <name>Marc-Andr&#233; Lemburg</name> +</names> diff --git a/regression_testing/cases/xml-cases/case-646946.conf b/regression_testing/cases/xml-cases/case-646946.conf new file mode 100644 index 0000000..36074d8 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-646946.conf @@ -0,0 +1,4 @@ +// Tidy configuration file for bug #640474 +// add-xml-decl: yes +input-xml: yes +output-xml: yes diff --git a/regression_testing/cases/xml-cases/case-646946@0.xml b/regression_testing/cases/xml-cases/case-646946@0.xml new file mode 100644 index 0000000..05d6fb5 --- /dev/null +++ b/regression_testing/cases/xml-cases/case-646946@0.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" standalone="yes"?> +<!-- [ 646946 ] Bad doctype guessing in XML mode --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" + "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="1800" height="1500"> +</svg> diff --git a/regression_testing/cases/xml-cases/config_default.conf b/regression_testing/cases/xml-cases/config_default.conf new file mode 100644 index 0000000..960ff1c --- /dev/null +++ b/regression_testing/cases/xml-cases/config_default.conf @@ -0,0 +1,7 @@ +// HTML Tidy configuration - 20151217 +indent: auto +char-encoding: latin1 +tidy-mark: no +clean: yes +logical-emphasis: yes +indent-attributes: yes diff --git a/regression_testing/cases/xml-expects/case-1003994.txt b/regression_testing/cases/xml-expects/case-1003994.txt new file mode 100644 index 0000000..86be1a9 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1003994.txt @@ -0,0 +1,17 @@ +line 7 column 1 - Error: unexpected </head> in <meta> +line 10 column 1 - Error: unexpected </html> in <meta> +Tidy found 0 warnings and 2 errors! + +This document has errors that must be fixed before +using HTML Tidy to generate a tidied up version. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-1004008.txt b/regression_testing/cases/xml-expects/case-1004008.txt new file mode 100644 index 0000000..36f7109 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1004008.txt @@ -0,0 +1,13 @@ +line 3 column 1 - Warning: discarding unexpected plain text +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-1004008.xml b/regression_testing/cases/xml-expects/case-1004008.xml new file mode 100644 index 0000000..912bb76 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1004008.xml @@ -0,0 +1,2 @@ +<?xml version="1.0"?> +<root></root> diff --git a/regression_testing/cases/xml-expects/case-1030944.txt b/regression_testing/cases/xml-expects/case-1030944.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1030944.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-1030944.xml b/regression_testing/cases/xml-expects/case-1030944.xml new file mode 100644 index 0000000..934d447 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1030944.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<x xml:lang="de" /> diff --git a/regression_testing/cases/xml-expects/case-1365706.txt b/regression_testing/cases/xml-expects/case-1365706.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1365706.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-1365706.xml b/regression_testing/cases/xml-expects/case-1365706.xml new file mode 100644 index 0000000..d7d1d5c --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1365706.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd"> +<dictionary title="Demo XML space issues"> + <suite name="Test Suite" description="Keeping spaces with break tags"> + <doc name="a lost space"> + <html>There is no + <b>space</b>after + <code>tagged</code>words.</html> + </doc> + <doc name="b using xml:space preserve"> + <html xml:space="preserve"> +There is +<b>space</b> after +<code>tagged</code> +words. +</html> + </doc> + <doc name="c using pre"> + <html> + <pre> +There is +<b>space</b> after +<code>tagged</code> words. +</pre> + </html> + </doc> + </suite> +</dictionary> diff --git a/regression_testing/cases/xml-expects/case-1448730.txt b/regression_testing/cases/xml-expects/case-1448730.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1448730.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-1448730.xml b/regression_testing/cases/xml-expects/case-1448730.xml new file mode 100644 index 0000000..9b8d333 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1448730.xml @@ -0,0 +1,7 @@ +<?xml version="1.0"?> +<doc> +<blah>here is some +<b>bold</b>text and here's a +<customtag>customtag content</customtag>who's preceding space will +be stripped.</blah> +</doc> diff --git a/regression_testing/cases/xml-expects/case-1510101.txt b/regression_testing/cases/xml-expects/case-1510101.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1510101.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-1510101.xml b/regression_testing/cases/xml-expects/case-1510101.xml new file mode 100644 index 0000000..93dd580 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1510101.xml @@ -0,0 +1,19 @@ +<?xml version="1.0"?> +<entities init=""> + <entity> + <pattern> + <re> +<![CDATA[.pt/200[6789]]]> + </re> + </pattern> + <outputs> + <output unique="yes"> + <attribute>hostname</attribute> + <separator>;</separator> + <format eval="no"> +<![CDATA[Jornal de Notícias]]> + </format> + </output> + </outputs> + </entity> +</entities> diff --git a/regression_testing/cases/xml-expects/case-1573338.txt b/regression_testing/cases/xml-expects/case-1573338.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1573338.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-1573338.xml b/regression_testing/cases/xml-expects/case-1573338.xml new file mode 100644 index 0000000..89d98aa --- /dev/null +++ b/regression_testing/cases/xml-expects/case-1573338.xml @@ -0,0 +1,4 @@ +<?xml version="1.0"?> +<pdu xx=" ww" + comment=" +Byte 1:BAP" /> diff --git a/regression_testing/cases/xml-expects/case-427837.txt b/regression_testing/cases/xml-expects/case-427837.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-427837.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-427837.xml b/regression_testing/cases/xml-expects/case-427837.xml new file mode 100644 index 0000000..c6c0cad --- /dev/null +++ b/regression_testing/cases/xml-expects/case-427837.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<names> +<name>Bjrn Hhrmann</name> +<name>Marc-Andr Lemburg</name> +</names> diff --git a/regression_testing/cases/xml-expects/case-431956.txt b/regression_testing/cases/xml-expects/case-431956.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-431956.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-431956.xml b/regression_testing/cases/xml-expects/case-431956.xml new file mode 100644 index 0000000..9645034 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-431956.xml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<!--[ #431956 ] Well formed XSL <xsl:text> gives error--> +<!-- Use -xml on command line --> +<!--FAILS (Tidy returns zero length string):--> +<!--========================================--> +<xsl:stylesheet version="1.0"> +<xsl:text> +Test +</xsl:text> +</xsl:stylesheet> diff --git a/regression_testing/cases/xml-expects/case-432677.html b/regression_testing/cases/xml-expects/case-432677.html new file mode 100644 index 0000000..a1c3497 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-432677.html @@ -0,0 +1,18 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> +<head> +<title>[ #432677 ] Null value changed to "value" for -asxml</title> +</head> +<body> +<form action="http://www.w3c.org/" method="get"> +<select name="option"> +<option value="">option 1</option> +<!-- BAD VALUE --> +<option value="opt2">option 2</option> +</select> +<input name="input" type="text" value="" /> +<!-- BAD VALUE --> + +<input name="submit" type="submit" value="submit" /></form> +</body> +</html> diff --git a/regression_testing/cases/xml-expects/case-432677.txt b/regression_testing/cases/xml-expects/case-432677.txt new file mode 100644 index 0000000..5e8722b --- /dev/null +++ b/regression_testing/cases/xml-expects/case-432677.txt @@ -0,0 +1,15 @@ +Info: Doctype given is "-//W3C//DTD HTML 4.01 Transitional//EN" +Info: Document content looks like XHTML 1.0 Transitional +Info: No system identifier in emitted doctype +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-433604.txt b/regression_testing/cases/xml-expects/case-433604.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-433604.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-433604.xml b/regression_testing/cases/xml-expects/case-433604.xml new file mode 100644 index 0000000..4ca9324 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-433604.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<text>[ #433604 ] Tidy inserts &amp;nbsp; entity in -xml mode. Use +-xml on command line. Test of &#160;</text> diff --git a/regression_testing/cases/xml-expects/case-433607.txt b/regression_testing/cases/xml-expects/case-433607.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-433607.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-433607.xml b/regression_testing/cases/xml-expects/case-433607.xml new file mode 100644 index 0000000..e5c2ecb --- /dev/null +++ b/regression_testing/cases/xml-expects/case-433607.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<text>[ #433607 ] No warning for omitted end tag with -xml. Use +-xml on command line.</text> diff --git a/regression_testing/cases/xml-expects/case-433670.txt b/regression_testing/cases/xml-expects/case-433670.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-433670.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-433670.xml b/regression_testing/cases/xml-expects/case-433670.xml new file mode 100644 index 0000000..7809994 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-433670.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<text>[ #433670 ] &amp;apos not recognized as valid XML entity. Use +-xml on command line. Test of '</text> diff --git a/regression_testing/cases/xml-expects/case-434100.txt b/regression_testing/cases/xml-expects/case-434100.txt new file mode 100644 index 0000000..e0851f0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-434100.txt @@ -0,0 +1,22 @@ +line 7 column 1 - Info: value for attribute "http-equiv" missing quote marks +line 8 column 1 - Info: value for attribute "name" missing quote marks +line 8 column 1 - Info: value for attribute "content" missing quote marks +line 9 column 1 - Info: value for attribute "name" missing quote marks +line 10 column 1 - Info: value for attribute "name" missing quote marks +line 11 column 1 - Info: value for attribute "rel" missing quote marks +line 13 column 1 - Error: unexpected </head> in <link> +Tidy found 0 warnings and 1 error! + +This document has errors that must be fixed before +using HTML Tidy to generate a tidied up version. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-473490.html b/regression_testing/cases/xml-expects/case-473490.html new file mode 100644 index 0000000..3562b5a --- /dev/null +++ b/regression_testing/cases/xml-expects/case-473490.html @@ -0,0 +1,10 @@ +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>[ #473490 ] DOCTYPE for Proprietary HTML to XHTML bad</title> +</head> +<body> +<nolayer> +<p>Test</p> +</nolayer> +</body> +</html> diff --git a/regression_testing/cases/xml-expects/case-473490.txt b/regression_testing/cases/xml-expects/case-473490.txt new file mode 100644 index 0000000..e69de29 diff --git a/regression_testing/cases/xml-expects/case-480406.txt b/regression_testing/cases/xml-expects/case-480406.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-480406.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-480406.xml b/regression_testing/cases/xml-expects/case-480406.xml new file mode 100644 index 0000000..fc8fb78 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-480406.xml @@ -0,0 +1,3 @@ +<?xml version="1.0"?> +<!-- [ #480406 ] Single document element discarded - use "-xml" on command line --> +<test /> diff --git a/regression_testing/cases/xml-expects/case-480701.txt b/regression_testing/cases/xml-expects/case-480701.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-480701.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-480701.xml b/regression_testing/cases/xml-expects/case-480701.xml new file mode 100644 index 0000000..645c106 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-480701.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- [ #480701 ] -xml conflicts with -output-xhtml --> +<test> +<image rdf:resource="http://www.atmedia.net/" /> +</test> +<!-- +Expected output: +<image rdf:resource="http://www.atmedia.net/"/> +or +<image rdf:resource="http://www.atmedia.net/"></image> + +Actual output: +<image rdf:resource="http://www.atmedia.net/"/></image> +--> diff --git a/regression_testing/cases/xml-expects/case-500236.txt b/regression_testing/cases/xml-expects/case-500236.txt new file mode 100644 index 0000000..a72585a --- /dev/null +++ b/regression_testing/cases/xml-expects/case-500236.txt @@ -0,0 +1,13 @@ +line 1 column 11 - Info: tidy replaced adjacent "-" with "=" +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-500236.xml b/regression_testing/cases/xml-expects/case-500236.xml new file mode 100644 index 0000000..5267e55 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-500236.xml @@ -0,0 +1,5 @@ +<!-- use "==word-2000 yes -xml" on command line --> +<!-- Test case for MS Access files failing with Error: missing quote mark for attribute value --> +<PARAM NAME="XMLData" +VALUE="&lt;xml xmlns:a=&quot;urn:schemas-microsoft-com:office:access&quot;&gt; &lt;a:something&gt;&lt;/a:something&gt;&lt;a:something&gt;&lt;/a:something&gt;&lt;/xml&gt;'&quot;"> +</PARAM> diff --git a/regression_testing/cases/xml-expects/case-503436.txt b/regression_testing/cases/xml-expects/case-503436.txt new file mode 100644 index 0000000..3f1a939 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-503436.txt @@ -0,0 +1,13 @@ +line 6 column 3 - Warning: <img> dropping value "first" for repeated attribute "alt" +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-503436.xml b/regression_testing/cases/xml-expects/case-503436.xml new file mode 100644 index 0000000..32420ec --- /dev/null +++ b/regression_testing/cases/xml-expects/case-503436.xml @@ -0,0 +1,8 @@ +<html> +<head> +<title>Testcase #503436</title> +</head> +<body> +<img src="image.gif" alt="second" /> +</body> +</html> diff --git a/regression_testing/cases/xml-expects/case-537604.txt b/regression_testing/cases/xml-expects/case-537604.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-537604.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-537604.xml b/regression_testing/cases/xml-expects/case-537604.xml new file mode 100644 index 0000000..0da4328 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-537604.xml @@ -0,0 +1,5 @@ +<?xml version="1.0"?> +<!-- [ 537604 ] Expansion of entity references in -xml --> +<!-- use "input-xml: yes " configuration options --> +<test>this is a test of ©. &amp;, &lt;, &gt;, ', " must be +recognized.</test> diff --git a/regression_testing/cases/xml-expects/case-540045.txt b/regression_testing/cases/xml-expects/case-540045.txt new file mode 100644 index 0000000..8b5cea6 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-540045.txt @@ -0,0 +1,14 @@ +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Transitional +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-540045.xhtml b/regression_testing/cases/xml-expects/case-540045.xhtml new file mode 100644 index 0000000..852c230 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-540045.xhtml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- use -config cfg_540045.txt --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta name="generator" content="HTML Tidy, see www.w3.org" /> +<title>[ 540045 ] Tidy strips all the IMG tags out!</title> +</head> +<body> +<p><img src="unst001s.png" alt="USA flag" /></p> +</body> +</html> diff --git a/regression_testing/cases/xml-expects/case-542029.html b/regression_testing/cases/xml-expects/case-542029.html new file mode 100644 index 0000000..5ae6384 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-542029.html @@ -0,0 +1,8 @@ +<?xml version="1.0"?> +<html> +<!-- use -config cfg_542029.txt --> +<head> +<title>[ 542029 ] PPrintXmlDecl reads outside array range</title> +</head> +<body>Test</body> +</html> diff --git a/regression_testing/cases/xml-expects/case-542029.txt b/regression_testing/cases/xml-expects/case-542029.txt new file mode 100644 index 0000000..86466bd --- /dev/null +++ b/regression_testing/cases/xml-expects/case-542029.txt @@ -0,0 +1,14 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +Info: Document content looks like XHTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-586555.html b/regression_testing/cases/xml-expects/case-586555.html new file mode 100644 index 0000000..450ca7f --- /dev/null +++ b/regression_testing/cases/xml-expects/case-586555.html @@ -0,0 +1,20 @@ +<?xml version="1.0"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>[ 586555 ] Misplaced backslash caused by newline</title> +</head> +<body> + <p>[ 586555 ] Misplaced backslash caused by newline</p> + <area shape="rect" + coords="236,24,329,39" + href="../../mitarbeiter/index.html" + onmouseout= + "di20('nav_oben_leben_r2_c02','navigation/nav_oben_leben_r2 +_c02.gif');" + onmouseover= + "di20('nav_oben_leben_r2_c02','navigation/nav_oben_leben_r +2_c02_F10.gif');" /> +</body> +</html> diff --git a/regression_testing/cases/xml-expects/case-586555.txt b/regression_testing/cases/xml-expects/case-586555.txt new file mode 100644 index 0000000..e69de29 diff --git a/regression_testing/cases/xml-expects/case-616744.txt b/regression_testing/cases/xml-expects/case-616744.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-616744.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-616744.xml b/regression_testing/cases/xml-expects/case-616744.xml new file mode 100644 index 0000000..2b4de5f --- /dev/null +++ b/regression_testing/cases/xml-expects/case-616744.xml @@ -0,0 +1,12 @@ +<refentry> +<para>This is some stuff in a para. There's a " +<literal>command</literal>" in it.</para> +<blockquote> +<programlisting> + This line is indented 4 spaces. + + This (3rd) line is indented 8 spaces. + +</programlisting> +</blockquote> +</refentry> diff --git a/regression_testing/cases/xml-expects/case-634889.html b/regression_testing/cases/xml-expects/case-634889.html new file mode 100644 index 0000000..3157677 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-634889.html @@ -0,0 +1,9 @@ +<html> +<head> +<title>[ 634889 ] Problem with &lt;o:p&gt; ms word tag</title> +</head> +<body> +<p>Probably OK, now that ParseTagNames() is fixed.</p> +<o:p></o:p> +</body> +</html> diff --git a/regression_testing/cases/xml-expects/case-634889.txt b/regression_testing/cases/xml-expects/case-634889.txt new file mode 100644 index 0000000..90a1bcd --- /dev/null +++ b/regression_testing/cases/xml-expects/case-634889.txt @@ -0,0 +1,15 @@ +line 1 column 1 - Warning: missing <!DOCTYPE> declaration +line 7 column 3 - Warning: <o:p> is not approved by W3C +Info: Document content looks like XHTML5 +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-640474.txt b/regression_testing/cases/xml-expects/case-640474.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-640474.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-640474.xml b/regression_testing/cases/xml-expects/case-640474.xml new file mode 100644 index 0000000..c6c0cad --- /dev/null +++ b/regression_testing/cases/xml-expects/case-640474.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="iso-8859-1"?> +<names> +<name>Bjrn Hhrmann</name> +<name>Marc-Andr Lemburg</name> +</names> diff --git a/regression_testing/cases/xml-expects/case-646946.txt b/regression_testing/cases/xml-expects/case-646946.txt new file mode 100644 index 0000000..4edfcd0 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-646946.txt @@ -0,0 +1,12 @@ +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/xml-expects/case-646946.xml b/regression_testing/cases/xml-expects/case-646946.xml new file mode 100644 index 0000000..bb88916 --- /dev/null +++ b/regression_testing/cases/xml-expects/case-646946.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" standalone="yes"?> +<!-- [ 646946 ] Bad doctype guessing in XML mode --> +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" +"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> +<svg width="1800" height="1500"></svg> diff --git a/regression_testing/test.rb b/regression_testing/test.rb new file mode 100755 index 0000000..83c6123 --- /dev/null +++ b/regression_testing/test.rb @@ -0,0 +1,904 @@ +#!/usr/bin/env ruby + +############################################################################### +# test.rb +# Run this script with `help` for more information (or examine this file.) +# +# This script replaces the previous tools-cmd and tools-sh shell scripts, +# as a single, cross-platform means of providing regression testing support +# for HTML Tidy. +############################################################################### + +require 'rubygems' # Ensure bundler is used. +require 'bundler/setup' # Make sure the Gemfile is recognized. +require 'logger' # Log output simplified. +require 'fileutils' # File utilities. +require 'thor' # Thor provides robust command line parameter parsing. +require 'tty-editor' # Cross-platform opening of files in default editor. + + +################################################################################ +# module TidyRegressionTestModule +# This module encapsulates module-level variables, utilities, logging, +# and the CLI handling class. +############################################################################### +#noinspection RubyTooManyInstanceVariablesInspection +module TidyRegressionTestModule + + ########################################################### + # Setup + # Change these variables in case directories are changed. + # Note that DIR_TIDY can be changed with input options. + ########################################################### + DIR_TEST_SETS = File.expand_path('cases') + EXE_TIDY = File.expand_path(File.join('..', 'build', 'cmake', 'tidy')) + + + ########################################################### + # The shared logger. + # This is a module-level logger, shared amongst everyone + # in a singleton-like fashion. + ########################################################### + SHARED_LOGGER = Logger.new(STDOUT) + SHARED_LOGGER.level = Logger::ERROR + SHARED_LOGGER.datetime_format = '%Y-%m-%d %H:%M:%S' + + WINDOWS_OS = (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) + + + ############################################################################# + # class TidyTestSet + # This class contains information a single test set. + ############################################################################# + class TidyTestSet + + attr_reader :test_set_name + attr_accessor :dir_test_set + attr_reader :dir_expects + attr_reader :dir_results + attr_reader :case_paths + attr_reader :case_names + attr_accessor :path_tidy_exe + + ######################################################### + # initialize + ######################################################### + def initialize( with_directory:, path_to_tidy: ) + + @dir_expects = nil + @dir_results = nil + @case_paths = nil + + self.dir_test_set = with_directory + self.path_tidy_exe = path_to_tidy + end + + + ######################################################### + # property test_set_name + ######################################################### + def test_set_name + @test_set_name + end + + + ######################################################### + # property dir_test_set + ######################################################### + def dir_test_set + @dir_test_set + end + + def dir_test_set=( test_set_directory ) + @test_set_name = File.basename(test_set_directory)[/(.*)-cases/,1] + candidate_expects = File.join(File.dirname(test_set_directory), "#{@test_set_name}-expects") + if File.exist?(candidate_expects) + @dir_test_set = test_set_directory + else + SHARED_LOGGER.warn("Skipping test set #{test_set_directory} because expectations directory #{candidate_expects} does not exist.") + @dir_test_set = nil + end + end + + + ######################################################### + # property dir_expects + ######################################################### + def dir_expects + unless @dir_expects + @dir_expects = File.join(File.dirname(self.dir_test_set), "#{@test_set_name}-expects") + end + @dir_expects + end + + + ######################################################### + # property dir_results + ######################################################### + def dir_results + unless @dir_results + @dir_results = File.join(File.dirname(self.dir_test_set), "#{@test_set_name}-results") + end + @dir_results + end + + + ######################################################### + # property case_paths + ######################################################### + def case_paths + unless @case_paths + @case_paths = [] + Dir.glob("#{self.dir_test_set}/*.{html,xml,xhtml,htm}").sort.each do |html_file| + SHARED_LOGGER.info("Adding case path #{html_file}") + case_name = File.basename( html_file[/(.*)@/,1] ) + candidate_expects_html = File.join( self.dir_expects, "#{case_name}#{File.extname(html_file)}" ) + candidate_expects_output = File.join( self.dir_expects, "#{case_name}.txt" ) + #noinspection RubyNilAnalysis -- this is a false positive, because we've explicitely made this an array. + @case_paths.push(html_file) + unless File.exist?(candidate_expects_html) && File.exist?(candidate_expects_output) + SHARED_LOGGER.warn("Note: #{html_file} is missing some expectations files in #{self.dir_expects}.") + end + end + end + @case_paths + end + + + ######################################################### + # property case_names + ######################################################### + def case_names + #noinspection RubyNilAnalysis -- cannot be nil at this point. + self.case_paths.map { |case_path| File.basename(case_path)[/^case-(.*)@.*$/,1] } + end + + + ######################################################### + # property path_tidy_exe + ######################################################### + def path_tidy_exe + @path_tidy_exe + end + + def path_tidy_exe=( value ) + unless File.exist?( value ) + raise StandardError.new "The path #{value} to tidy doesn’t exist." + end + unless File.executable?( value ) + raise StandardError.new "The path #{value} to tidy is there, but isn’t executable." + end + @path_tidy_exe = value + end + + end # class TidyTestSet + + + ############################################################################# + # class TidyTestCase + # This class contains information a single test case. + ############################################################################# + class TidyTestCase + + attr_accessor :path_file + attr_reader :name_test_set + attr_reader :name_case + attr_reader :path_config + attr_reader :expects_exit_code + attr_reader :dir_test_sets + attr_reader :dir_expects + attr_reader :dir_results + attr_reader :path_expects_html + attr_reader :path_expects_output + attr_reader :path_result_html + attr_reader :path_result_output + attr_accessor :path_tidy_exe + attr_reader :test_passed + attr_reader :test_report + attr_reader :test_exit_status + + + ######################################################### + # initialize + ######################################################### + def initialize( with_file:, path_to_tidy: ) + + @path_file = nil + @name_test_set = nil + @name_case = nil + @path_config = nil + @expects_exit_code = nil + @dir_test_sets = nil + @dir_expects = nil + @dir_results = nil + @path_expects_html = nil + @path_expects_output = nil + @path_result_html = nil + @path_result_output = nil + @path_tidy_exe = nil + @test_report = nil + @test_exit_status = nil + + @test_complete = false + @test_diff_html = nil + @test_diff_html_status = nil + @test_diff_output = nil + @test_diff_output_status = nil + + self.path_file = with_file + self.path_tidy_exe = path_to_tidy + end # initialize + + + ############################################################################# + # Property Accessors + ############################################################################# + + ######################################################### + # property path_file + ######################################################### + def path_file + @path_file + end + + def path_file=( value ) + if File.exist?(File.expand_path(value)) + @path_file = value + else + raise StandardError.new "File #{value} doesn’t exist." + end + + valid_extensions = %w(.html .xhtml .htm .xml) + unless valid_extensions.include?(File.extname(value).downcase) + raise StandardError.new "File #{value} doesn’t have a correct extension (one of #{valid_extensions})." + end + + @path_file = value + end + + + ######################################################### + # property name_test_set + # This is the enclosing directory name, without the + # -cases suffix. + ######################################################### + def name_test_set + unless @name_test_set + @name_test_set = File.basename( File.dirname(self.path_file)[/(.*)-cases/,1] ) + end + + @name_test_set + end + + + ######################################################### + # property name_case + ######################################################### + def name_case + unless @name_case + @name_case = File.basename(self.path_file)[/case-(.*)@/, 1] + end + + @name_case + end + + + ######################################################### + # property path_config + # The config file is either the same as the test case + # file (without the exit code metadata) and the .conf + # extension, or the config_default.conf if not found. + ######################################################### + def path_config + unless @path_config + directory = File.dirname(self.path_file) + candidate = File.join( directory, "case-#{name_case}.conf" ) + + unless File.exist?(candidate) + candidate = File.join( directory, 'config_default.conf') + unless File.exist?(candidate) + raise StandardError.new "Case #{name_case} doesn’t have a configuration file." + end + end + @path_config = candidate + end + + @path_config + end + + + ######################################################### + # property expects_exit_code + # This is the metadata between the @ and extension. + ######################################################### + def expects_exit_code + unless @expects_exit_code + @expects_exit_code = File.basename(self.path_file)[/case-.*@(.)./, 1] + end + + @expects_exit_code + end + + + ######################################################### + # property dir_test_sets + # This is the directory containing the test sets. + ######################################################### + def dir_test_sets + unless @dir_test_sets + @dir_test_sets = File.dirname( File.dirname(self.path_file) ) + end + + @dir_test_sets + end + + + ######################################################### + # property dir_expects + # This is the directory within the test sets that + # contains the expectations files. + ######################################################### + def dir_expects + unless @dir_expects + @dir_expects = File.join( self.dir_test_sets, "#{self.name_test_set}-expects" ) + unless File.exist?(@dir_expects) + raise StandardError.new "The expectations directory #{dir_expects} doesn’t seem to exist." + end + end + + @dir_expects + end + + + ######################################################### + # property dir_results + # This is the in-source directory where results will + # be generated. + ######################################################### + def dir_results + unless @dir_results + @dir_results = File.join( self.dir_test_sets, "#{self.name_test_set}-results" ) + unless File.exist?(@dir_results) + FileUtils.mkdir_p(@dir_results) + unless File.exist?(@dir_results) + raise StandardError.new "The expectations directory #{@dir_results} doesn’t seem to exist and couldn’t be created." + end + end + end + + @dir_results + end + + + ######################################################### + # property path_expects_html + # A file in the expectations directory with the same + # name as the HTML file (without @ metadata). + ######################################################### + def path_expects_html + unless @path_expects_html + basename = File.basename(self.path_file)[/(.*)@/,1] + File.extname(self.path_file) + @path_expects_html = File.join( self.dir_expects, basename ) + unless File.exist?(@path_expects_html) + SHARED_LOGGER.warn("The expectations file #{@path_expects_html} doesn’t seem to exist.") + end + end + + @path_expects_html + end + + + ######################################################### + # property path_expects_output + # A file in the expectations directory with the same + # name as the HTML file (without @ metadata), but + # of type .txt. + ######################################################### + def path_expects_output + unless @path_expects_output + basename = File.basename(self.path_file)[/(.*)@/,1] + '.txt' + @path_expects_output = File.join( self.dir_expects, basename ) + unless File.exist?(@path_expects_output) + SHARED_LOGGER.warn("The expectations file #{@path_expects_output} doesn’t seem to exist.") + end + end + + @path_expects_output + end + + + ######################################################### + # property path_result_html + # A file in the results directory with the same + # name as the HTML file (without @ metadata). This + # file doesn't necessarily exist until the test is + # executed. + ######################################################### + def path_result_html + unless @path_result_html + basename = File.basename(self.path_file)[/(.*)@/,1] + File.extname(self.path_file) + @path_result_html = File.join( self.dir_results, basename ) + end + + @path_result_html + end + + + ######################################################### + # property path_result_output + # A file in the results directory with the same + # name as the HTML file (without @ metadata), but + # of type .txt. This file doesn't necessarily exist + # until the test is executed. + ######################################################### + def path_result_output + unless @path_result_output + basename = File.basename(self.path_file)[/(.*)@/,1] + '.txt' + @path_result_output = File.join( self.dir_results, basename ) + end + + @path_result_output + end + + + ######################################################### + # property path_tidy_exe + ######################################################### + def path_tidy_exe + @path_tidy_exe + end + + def path_tidy_exe=( value ) + unless File.exist?( value ) + raise StandardError.new "The path #{value} to tidy doesn’t exist." + end + unless File.executable?( value ) + raise StandardError.new "The path #{value} to tidy is there, but isn’t executable." + end + @path_tidy_exe = value + end + + + ######################################################### + # property @test_passed + ######################################################### + def test_passed + unless @test_complete + self.perform_test + end + @test_exit_status == self.expects_exit_code.to_i && + @test_diff_html_status == 0 && + @test_diff_output_status == 0 + end + + + ######################################################### + # property @test_report + ######################################################### + def test_report + unless @test_complete + self.perform_test + end + + if self.test_passed + result = "PASSED | status #{@test_exit_status} expected #{self.expects_exit_code} | #{self.path_file}\n" + else + result = WINDOWS_OS ? "\n++++++++++++++++++++\n" : "\n⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓⇓\n" + result += "FAILED | status #{@test_exit_status} expected #{self.expects_exit_code} | #{self.path_file}\n" + result += "\n#{@test_diff_html}" unless @test_diff_html_status == 0 + result += "\n#{@test_diff_output}" unless @test_diff_output_status == 0 + result += WINDOWS_OS ? "^^^^^^^^^^^^^^^^^^^^\n\n" : "⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑⇑\n\n" + end + result + end + + + ######################################################### + # property @test_exit_status + ######################################################### + def test_exit_status + @test_exit_status + end + + + ############################################################################# + # Protected Methods + ############################################################################# + + protected + + ######################################################### + # perform_test + ######################################################### + def perform_test + + #-------------------------------------------------- + # Remove existing output files, if any. + #-------------------------------------------------- + File.delete(self.path_result_html) if File.exist?(self.path_result_html) + File.delete(self.path_result_output) if File.exist?(self.path_result_output) + + #-------------------------------------------------- + # Run HTML Tidy on the input file. + #-------------------------------------------------- + shell_command = %Q<"#{self.path_tidy_exe}" -lang en_us -f "#{self.path_result_output}" -config "#{self.path_config}" --tidy-mark no -o "#{self.path_result_html}" "#{self.path_file}"> + SHARED_LOGGER.info("Performing: #{shell_command}") + %x(#{shell_command}) + @test_exit_status = $?.exitstatus + SHARED_LOGGER.info("Tidy exited with status: #{@test_exit_status}") + + #-------------------------------------------------- + # Get the diffs for the html files. + #-------------------------------------------------- + diff_cmd = WINDOWS_OS ? 'fc /l' : 'diff -ua' + if File.exist?(self.path_expects_html) + shell_command = %Q<#{diff_cmd} "#{possible_windows_shell_path(self.path_expects_html)}" "#{possible_windows_shell_path(self.path_result_html)}"> + SHARED_LOGGER.info("Performing: #{shell_command}") + @test_diff_html = %x( #{shell_command} ) + @test_diff_html_status = $?.exitstatus + SHARED_LOGGER.info("diff/fc exited with status: #{@test_diff_html_status}") + else + # Although the HTML -expects file is missing, that might be by design, because + # some cases are Tidy failures and don't produce output. If the HTML -results + # is also missing, then this is actually a match, so we'll give it a pass. + if File.exist?(self.path_result_html) + @test_diff_html = "diff: Expectations file #{self.path_expects_html} is missing!" + else + @test_diff_html = "" + @test_diff_html_status = 0 + end + end + + #-------------------------------------------------- + # Get the diffs for the output files. + #-------------------------------------------------- + if File.exist?(self.path_expects_output) + shell_command = %Q<#{diff_cmd} "#{possible_windows_shell_path(self.path_expects_output)}" "#{possible_windows_shell_path(self.path_result_output)}"> + SHARED_LOGGER.info("Performing: #{shell_command}") + @test_diff_output = %x( #{shell_command} ) + @test_diff_output_status = $?.exitstatus + SHARED_LOGGER.info("diff/fc exited with status: #{@test_diff_output_status}") + else + @test_diff_output = "diff: Expectations file #{self.path_expects_output} is missing!" + end + + @test_complete = true + end + + + ########################################################### + # Sometimes Windows still rejects normal file path + # specifiers, such as the fc command, which thinks that + # the file isn't found when using forward slashes. + ########################################################### + def possible_windows_shell_path(unix_path) + if WINDOWS_OS + unix_path.gsub(File::SEPARATOR, File::ALT_SEPARATOR || File::SEPARATOR) + else + unix_path + end + end + + + end # class TidyTestCase + + + ############################################################################# + # class TidyRegressionTestCLI + # This class provides handlers for CLI parameters. Because it's such a + # simple application, it also serves as our Application. + ############################################################################# + class TidyRegressionTestCLI < Thor + + class_option :verbose, + :type => :boolean, + :desc => 'Provides verbose debug output.', + :aliases => '-v' + + class_option :debug, + :type => :boolean, + :desc => 'Provides really verbose debug output.', + :aliases => '-d' + + class_option :tidy, + :type => :string, + :desc => "Specify an alternate HTML Tidy binary instead of the default at #{EXE_TIDY}.", + :aliases => '-t' + + + ######################################################### + # Property declarations + ######################################################### + attr_accessor :tidy_path + attr_reader :all_test_sets # array of all test sets. + + + ######################################################### + # Initialize + ######################################################### + def initialize(args = nil, options = nil, config = nil) + super + set_options + end + + + ######################################################### + # exit_on_failure? + ######################################################### + def self.exit_on_failure? + true + end + + + ######################################################### + # help + # Override the default help in order to better describe + # what we're doing. + ######################################################### + def help(*args) + if args.count == 0 + puts <<~HEREDOC + + This script (#{File.basename($0)}) runs HTML Tidy’s regression tests. You can instruct + it to run all test sets, a single test set, or even a single case. + + Complete Help: + -------------- + HEREDOC + end + + super + end # help + + + ######################################################### + # test + # See long_desc + ######################################################### + desc 'test', 'Runs all test cases in all test sets.' + option :omitpassed, + :type => :boolean, + :desc => 'Omits PASSED test cases to keep output quieter.', + :aliases => '-q' + long_desc <<-LONG_DESC + Runs all test cases in all test sets. Any directory in + #{DIR_TEST_SETS} + ending with '-cases' and having a matching '-expects' counterpart is + assumed to be a test set. + + This command will exit with a non-zero exit code if any of tests + do no exit with the expected exit code, or if any of the output + produced does not match the expectation in '-expects'. It will + also fail if no test cases can be found. + + Summary data will be printed to stdout, as well as any diffs in + the event of a regression test failure. + + Use case: this is the general test you should perform when + deciding whether or not to accept changes to Tidy's source code. + LONG_DESC + def test + total_tested = 0 + total_passed = 0 + self.all_test_sets.each do |test_set| + test_set.case_paths.each do |case_file| + test_run = TidyTestCase.new(with_file: case_file, path_to_tidy: self.tidy_path) + puts test_run.test_report unless test_run.test_passed && options[:omitpassed] + total_tested += 1 + total_passed += 1 if test_run.test_passed + end + end + self.print_report_footer( total_tested, total_passed ) + raise Thor::Error, "Automated Testing Failed." if total_passed < total_tested + end # test + + + ######################################################### + # only + # See long_desc + ######################################################### + desc 'only <test_set_name>', 'Only runs all of the test cases in the test set given.' + option :omitpassed, + :type => :boolean, + :desc => 'Omits PASSED test cases to keep output quieter.', + :aliases => '-q' + long_desc <<-LONG_DESC + Runs all test cases in the given test set. Any directory in + #{DIR_TEST_SETS} + ending with '-cases' and having a matching '-expects' counterpart is + assumed to be a test set. The name of the test set does not include + the '-cases' suffix, and so do not provide it. + + This command will exit with a non-zero exit code if any of tests + do no exit with the expected exit code, or if any of the output + produced does not match the expectation in '-expects'. It will + also fail if no test cases can be found. + + Summary data will be printed to stdout, as well as any diffs in + the event of a regression test failure. + + Use case: Use this command if you want to speed up testing, especially + if you already know that other test sets have already been tested + successfully. + LONG_DESC + def only( test_set_name ) + total_tested = 0 + total_passed = 0 + test_set = all_test_sets.select { |test_case| test_case.test_set_name == test_set_name }.first + if test_set + test_set.case_paths.each do |case_file| + test_run = TidyTestCase.new(with_file: case_file, path_to_tidy: self.tidy_path) + puts test_run.test_report unless test_run.test_passed && options[:omitpassed] + total_tested += 1 + total_passed += 1 if test_run.test_passed + end + self.print_report_footer( total_tested, total_passed ) + else + puts "Test set #{test_set_name} could not be used, found, or does not meet conventions correctly." + end + raise Thor::Error, "Automated Testing Failed." if total_passed < total_tested + end # only + + ######################################################### + # case + # See long_desc + ######################################################### + desc 'case <case_name>', 'Only tests a single case.' + long_desc <<-LONG_DESC + Run only the specific test case. If the same case name exists in + multiple test sets, then they will be tested in the order that + they are found. Don’t give your cases the same name if you do not + wish to experience this behavior. Any directory in + #{DIR_TEST_SETS} + ending with '-cases' and having a matching '-expects' counterpart is + assumed to be a test set. Do not provide any prefix or suffix parts + of the case name. + + This command will exit with a non-zero exit code if the test + does not exit with the expected exit code, or if any of the output + produced does not match the expectation in '-expects'. It will + also fail if the test cases cannot be found. + + Summary data will be printed to stdout, as well as any diffs in + the event of a regression test failure. + + Use case: Use this command if you want to speed up testing, especially + if you're adding a new test case. + LONG_DESC + def case( case_name ) + total_tested = 0 + total_passed = 0 + self.all_test_sets.each do |test_set| + test_set.case_paths.select {|case_path| File.basename(case_path)[/^case-(.*)@.*$/,1] == case_name }.each do |case_file| + test_run = TidyTestCase.new(with_file: case_file, path_to_tidy: self.tidy_path) + puts test_run.test_report unless test_run.test_passed && options[:omitpassed] + total_tested += 1 + total_passed += 1 if test_run.test_passed + end + end + self.print_report_footer( total_tested, total_passed ) + raise Thor::Error, "Automated Testing Failed." if total_passed < total_tested + end # case + + + ######################################################### + # qo + # See long_desc + ######################################################### + desc 'qo <case_name>', 'Quick-Opens the case file, the -expects, and -results files.' + long_desc <<-LONG_DESC + Quick-Opens the specific test case in your environment‘s default + text editor, as well as the corresponding -expects file and -results + files if present. Additionally, it will print the diff commands for your + operating system pointing to the html files and the output files, + respectively. This makes it easy to copy and paste if you would like + to see a diff view. + + Use case: Use this command if a test case fails, and you want to view all of the + relevant files in your text editor for comparison. + LONG_DESC + def qo( case_name ) + + if WINDOWS_OS + diff_cmd = 'fc -l' + editor = TTY::Editor.new + else + diff_cmd = 'diff -ua' + # This means of instantiation is temporary until + # tty-editor is patched to trust the + program = File.basename(ENV['EDITOR']) + editor = TTY::Editor.new(command: program ) + end + + self.all_test_sets.each do |test_set| + test_set.case_paths.select {|case_path| File.basename(case_path)[/^case-(.*)@.*$/,1] == case_name }.each do |case_file| + # This will *not* run the tests and overwrite the files; that would only occur + # if we try to pull a test report. This makes it simple to get our paths. + test_run = TidyTestCase.new(with_file: case_file, path_to_tidy: self.tidy_path) + editor.open("#{test_run.path_file}") if File.exist?(test_run.path_file) + editor.open("#{test_run.path_config}") if File.exist?(test_run.path_config) + editor.open("#{test_run.path_expects_html}") if File.exist?(test_run.path_expects_html) + editor.open("#{test_run.path_expects_output}") if File.exist?(test_run.path_expects_output) + editor.open("#{test_run.path_result_html}") if File.exist?(test_run.path_result_html) + editor.open("#{test_run.path_result_output}") if File.exist?(test_run.path_result_output) + + puts <<~HEREDOC + #{diff_cmd} #{test_run.path_expects_html} #{test_run.path_result_html} + #{diff_cmd} #{test_run.path_expects_output} #{test_run.path_result_output} + HEREDOC + end + end + end # qo + + + protected + + + ######################################################### + # set_options + # Handles command line options. + ######################################################### + def set_options + SHARED_LOGGER.level = Logger::WARN if options[:verbose] + SHARED_LOGGER.level = Logger::DEBUG if options[:debug] + self.tidy_path = options[:tidy] ? File.expand_path(options[:tidy]) : EXE_TIDY + end # set_options + + + ######################################################### + # print_report_footer + ######################################################### + def print_report_footer( total_tested, total_passed ) + tidy_version = %x( #{self.tidy_path} --version ) + tidy_version = tidy_version[/^.*(\d+\.\d+\.\d+).*/,1] + cases_version = File.open(File.join(DIR_TEST_SETS, '_version.txt')).first.chomp + + puts + puts "Note that no valid cases were found." if total_tested < 1 + puts "Ran #{total_tested} tests, of which #{total_passed} passed and #{total_tested - total_passed} failed." + puts "Test conducted with HTML Tidy #{tidy_version} using test sets for version #{cases_version}." + end + + + ######################################################### + # property tidy_path + ######################################################### + def tidy_path + @tidy_path + end + + def tidy_path=( value ) + value += '.exe' if WINDOWS_OS && File.extname(value) != '.exe' + unless File.exist?( value ) + raise StandardError.new "The path #{value} to tidy doesn’t exist." + end + @tidy_path = value + end + + + ######################################################### + # property all_test_sets + ######################################################### + def all_test_sets + unless @all_test_sets + @all_test_sets = [] + Dir.glob("#{DIR_TEST_SETS}/*-cases").select { |entry| File.directory? entry }.sort.each do |test_set_directory| + new_test_set = TidyTestSet.new(with_directory: test_set_directory, path_to_tidy: self.tidy_path) + unless new_test_set.dir_test_set.nil? + @all_test_sets.push(new_test_set) + end + end + end + @all_test_sets + end + + end # TidyRegressionTestCLI + +end # TidyRegressionTestModule + + +########################################################### +# Main +########################################################### + +TidyRegressionTestModule::TidyRegressionTestCLI.start(ARGV) From 81603aa6970f19f967a174159d669daf7f9ea75e Mon Sep 17 00:00:00 2001 From: ihsinme <ihsinme@gmail.com> Date: Sun, 13 Jun 2021 15:25:27 +0300 Subject: [PATCH 152/182] simple fix for the range of the condition. simple fix for the range of the condition. --- src/streamio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamio.c b/src/streamio.c index 5a95b65..07f05c7 100644 --- a/src/streamio.c +++ b/src/streamio.c @@ -803,7 +803,7 @@ static void EncodeIbm858( uint c, StreamOut* out ) /* Convert from Latin0 (aka Latin9, ISO-8859-15) to Unicode */ static uint DecodeLatin0(uint c) { - if (159 < c && c < 191) + if (163 < c && c < 191) { switch (c) { From 65aa1bdd8c12eeca384681f609a9000c13e2c161 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 09:25:37 -0400 Subject: [PATCH 153/182] Added test cases to this PR. --- .../cases/github-cases/case-692@1.html | 17 +++++++++++++++++ .../cases/github-expects/case-692.html | 18 ++++++++++++++++++ .../cases/github-expects/case-692.txt | 17 +++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100755 regression_testing/cases/github-cases/case-692@1.html create mode 100644 regression_testing/cases/github-expects/case-692.html create mode 100644 regression_testing/cases/github-expects/case-692.txt diff --git a/regression_testing/cases/github-cases/case-692@1.html b/regression_testing/cases/github-cases/case-692@1.html new file mode 100755 index 0000000..0cefac1 --- /dev/null +++ b/regression_testing/cases/github-cases/case-692@1.html @@ -0,0 +1,17 @@ +<!-- +This test case represents HTML Tidy issue #692, which describes +how Tidy misbehaves when there are multiple <title> elements present. +The reason this change is needed is to alert the user that multiple +<title> elements are present, and to deleted all but the first title +element, which is consistent with the behavior of mainline web browers +as of this commit date. + --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> + <HEAD> + <TITLE>Test stuff</TITLE> + <TITLE>As if one title isn't enough</TITLE> + </HEAD> + <BODY> + <P>This is my paragraph</P> + </BODY> +</HTML> diff --git a/regression_testing/cases/github-expects/case-692.html b/regression_testing/cases/github-expects/case-692.html new file mode 100644 index 0000000..f942f2e --- /dev/null +++ b/regression_testing/cases/github-expects/case-692.html @@ -0,0 +1,18 @@ +<!-- +This test case represents HTML Tidy issue #692, which describes +how Tidy misbehaves when there are multiple <title> elements present. +The reason this change is needed is to alert the user that multiple +<title> elements are present, and to deleted all but the first title +element, which is consistent with the behavior of mainline web browers +as of this commit date. + --> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title>Test stuff</title> +</head> +<body> + <p>This is my paragraph</p> +</body> +</html> diff --git a/regression_testing/cases/github-expects/case-692.txt b/regression_testing/cases/github-expects/case-692.txt new file mode 100644 index 0000000..31cc015 --- /dev/null +++ b/regression_testing/cases/github-expects/case-692.txt @@ -0,0 +1,17 @@ +line 10 column 5 - Warning: too many title elements in <head> +line 10 column 5 - Info: <head> previously mentioned +line 12 column 9 - Warning: discarding unexpected <title> +Info: Doctype given is "-//W3C//DTD XHTML 1.0 Transitional//EN" +Info: Document content looks like XHTML 1.0 Strict +Tidy found 2 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md From 1622342783b979481d09cdfa05fb74e6950e61d2 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 09:31:34 -0400 Subject: [PATCH 154/182] Bumped version for recent merge. --- regression_testing/cases/_version.txt | 2 +- version.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/regression_testing/cases/_version.txt b/regression_testing/cases/_version.txt index abb8981..ee5f1ab 100644 --- a/regression_testing/cases/_version.txt +++ b/regression_testing/cases/_version.txt @@ -1 +1 @@ -5.7.48 +5.7.49 diff --git a/version.txt b/version.txt index ec01ade..7b941eb 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.48 -2021.05.21 +5.7.49 +2021.06.30 From 4153b5784c56afccab3875f4b37a30ecaaf04635 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 09:41:19 -0400 Subject: [PATCH 155/182] Commonize versioning. Eliminate the redundant test case version file from the recently re-merged regression testing suite. Regression tests are now automatically versioned the same as the current tidy source version. --- regression_testing/cases/_version.txt | 1 - regression_testing/test.rb | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 regression_testing/cases/_version.txt diff --git a/regression_testing/cases/_version.txt b/regression_testing/cases/_version.txt deleted file mode 100644 index ee5f1ab..0000000 --- a/regression_testing/cases/_version.txt +++ /dev/null @@ -1 +0,0 @@ -5.7.49 diff --git a/regression_testing/test.rb b/regression_testing/test.rb index 83c6123..c295a37 100755 --- a/regression_testing/test.rb +++ b/regression_testing/test.rb @@ -32,6 +32,7 @@ module TidyRegressionTestModule ########################################################### DIR_TEST_SETS = File.expand_path('cases') EXE_TIDY = File.expand_path(File.join('..', 'build', 'cmake', 'tidy')) + VERSION_FILE = File.join(File.expand_path('..', File.dirname(__FILE__)), 'version.txt') ########################################################### @@ -851,7 +852,7 @@ module TidyRegressionTestModule def print_report_footer( total_tested, total_passed ) tidy_version = %x( #{self.tidy_path} --version ) tidy_version = tidy_version[/^.*(\d+\.\d+\.\d+).*/,1] - cases_version = File.open(File.join(DIR_TEST_SETS, '_version.txt')).first.chomp + cases_version = File.open(VERSION_FILE).first.chomp puts puts "Note that no valid cases were found." if total_tested < 1 From 4052718fb80df188ea47ef82067fb10e010ca292 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 10:16:10 -0400 Subject: [PATCH 156/182] Added test cases for this PR. --- .../cases/github-cases/case-729a.conf | 2 ++ .../cases/github-cases/case-729a@2.html | 25 +++++++++++++++++++ .../cases/github-cases/case-729b.conf | 2 ++ .../cases/github-cases/case-729b@1.html | 25 +++++++++++++++++++ .../cases/github-expects/case-729a.txt | 19 ++++++++++++++ .../cases/github-expects/case-729b.html | 21 ++++++++++++++++ .../cases/github-expects/case-729b.txt | 17 +++++++++++++ 7 files changed, 111 insertions(+) create mode 100755 regression_testing/cases/github-cases/case-729a.conf create mode 100755 regression_testing/cases/github-cases/case-729a@2.html create mode 100755 regression_testing/cases/github-cases/case-729b.conf create mode 100755 regression_testing/cases/github-cases/case-729b@1.html create mode 100644 regression_testing/cases/github-expects/case-729a.txt create mode 100644 regression_testing/cases/github-expects/case-729b.html create mode 100644 regression_testing/cases/github-expects/case-729b.txt diff --git a/regression_testing/cases/github-cases/case-729a.conf b/regression_testing/cases/github-cases/case-729a.conf new file mode 100755 index 0000000..471cfa1 --- /dev/null +++ b/regression_testing/cases/github-cases/case-729a.conf @@ -0,0 +1,2 @@ +# Sample config for 729a. +strict-tags-attributes: yes \ No newline at end of file diff --git a/regression_testing/cases/github-cases/case-729a@2.html b/regression_testing/cases/github-cases/case-729a@2.html new file mode 100755 index 0000000..ea80407 --- /dev/null +++ b/regression_testing/cases/github-cases/case-729a@2.html @@ -0,0 +1,25 @@ +<!-- +This test case represents HTML Tidy issue #729, which describes +how Tidy misbehaves when strict-tags-attributes is set to `no`, +wherein Tidy complains but shouldn't. + +Version a of this test shows proper behavior when set to `yes`. +Version b of this test shows proper behavior when set to `no`. + --> +<!DOCTYPE html> +<html> + <head> + <title> Alignment </title> + </head> + <body> + + <table> + <tr valign="bottom"> + <td width="50" align="center"> + text + </td> + </tr> + </table> + + </body> +</html> diff --git a/regression_testing/cases/github-cases/case-729b.conf b/regression_testing/cases/github-cases/case-729b.conf new file mode 100755 index 0000000..499b2c7 --- /dev/null +++ b/regression_testing/cases/github-cases/case-729b.conf @@ -0,0 +1,2 @@ +# Sample config for 729b. +strict-tags-attributes: no diff --git a/regression_testing/cases/github-cases/case-729b@1.html b/regression_testing/cases/github-cases/case-729b@1.html new file mode 100755 index 0000000..ea80407 --- /dev/null +++ b/regression_testing/cases/github-cases/case-729b@1.html @@ -0,0 +1,25 @@ +<!-- +This test case represents HTML Tidy issue #729, which describes +how Tidy misbehaves when strict-tags-attributes is set to `no`, +wherein Tidy complains but shouldn't. + +Version a of this test shows proper behavior when set to `yes`. +Version b of this test shows proper behavior when set to `no`. + --> +<!DOCTYPE html> +<html> + <head> + <title> Alignment </title> + </head> + <body> + + <table> + <tr valign="bottom"> + <td width="50" align="center"> + text + </td> + </tr> + </table> + + </body> +</html> diff --git a/regression_testing/cases/github-expects/case-729a.txt b/regression_testing/cases/github-expects/case-729a.txt new file mode 100644 index 0000000..d87b564 --- /dev/null +++ b/regression_testing/cases/github-expects/case-729a.txt @@ -0,0 +1,19 @@ +line 17 column 13 - Error: <tr> attribute "valign" not allowed for HTML5 +line 18 column 17 - Error: <td> attribute "width" not allowed for HTML5 +line 18 column 17 - Error: <td> attribute "align" not allowed for HTML5 +Info: Document content looks like HTML5 +Tidy found 0 warnings and 3 errors! + +This document has errors that must be fixed before +using HTML Tidy to generate a tidied up version. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/regression_testing/cases/github-expects/case-729b.html b/regression_testing/cases/github-expects/case-729b.html new file mode 100644 index 0000000..776bf5f --- /dev/null +++ b/regression_testing/cases/github-expects/case-729b.html @@ -0,0 +1,21 @@ +<!-- +This test case represents HTML Tidy issue #729, which describes +how Tidy misbehaves when strict-tags-attributes is set to `no`, +wherein Tidy complains but shouldn't. + +Version a of this test shows proper behavior when set to `yes`. +Version b of this test shows proper behavior when set to `no`. + --> +<!DOCTYPE html> +<html> +<head> +<title>Alignment</title> +</head> +<body> +<table> +<tr valign="bottom"> +<td width="50" align="center">text</td> +</tr> +</table> +</body> +</html> diff --git a/regression_testing/cases/github-expects/case-729b.txt b/regression_testing/cases/github-expects/case-729b.txt new file mode 100644 index 0000000..65cb35a --- /dev/null +++ b/regression_testing/cases/github-expects/case-729b.txt @@ -0,0 +1,17 @@ +line 18 column 17 - Warning: <td> attribute "align" not allowed for HTML5 +line 17 column 13 - Warning: <tr> attribute "valign" not allowed for HTML5 +line 18 column 17 - Warning: <td> attribute "width" not allowed for HTML5 +line 18 column 17 - Warning: <td> attribute "align" not allowed for HTML5 +Info: Document content looks like HTML5 +Tidy found 4 warnings and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md From dc2e2d2d66c945a3ee6f9fc51f76ba3b94cacddd Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 10:23:16 -0400 Subject: [PATCH 157/182] Bumped to 5.7.50 due to recent PR merge. --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 7b941eb..2135a1b 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.49 +5.7.50 2021.06.30 From cf43bd3448b3a74b5319708d526841531f7af81b Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 11:08:13 -0400 Subject: [PATCH 158/182] Update existing regression testing results to accommodate new behavior. This is justified because we're simply reporting a new condition without changing output. --- regression_testing/cases/legacy-expects/case-1062511.txt | 3 ++- regression_testing/cases/legacy-expects/case-1674502.txt | 3 ++- regression_testing/cases/legacy-expects/case-1773932.txt | 3 ++- regression_testing/cases/legacy-expects/case-427675.txt | 3 ++- regression_testing/cases/legacy-expects/case-427676.txt | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/regression_testing/cases/legacy-expects/case-1062511.txt b/regression_testing/cases/legacy-expects/case-1062511.txt index f2b2729..fbcacd2 100644 --- a/regression_testing/cases/legacy-expects/case-1062511.txt +++ b/regression_testing/cases/legacy-expects/case-1062511.txt @@ -8,10 +8,11 @@ line 7 column 1 - Warning: <base> isn't allowed in <b> elements line 6 column 1 - Info: <b> previously mentioned line 6 column 1 - Warning: missing </b> before <hr> line 3 column 1 - Warning: content occurs after end of body +line 2 column 1 - Warning: blank 'title' element line 3 column 1 - Warning: trimming empty <marquee> line 6 column 1 - Warning: trimming empty <b> Info: Document content looks like HTML5 -Tidy found 11 warnings and 0 errors! +Tidy found 12 warnings and 0 errors! One or more empty elements were present in the source document but dropped on output. If these elements are necessary or you don't want diff --git a/regression_testing/cases/legacy-expects/case-1674502.txt b/regression_testing/cases/legacy-expects/case-1674502.txt index e2511f8..0eb188e 100644 --- a/regression_testing/cases/legacy-expects/case-1674502.txt +++ b/regression_testing/cases/legacy-expects/case-1674502.txt @@ -1,7 +1,8 @@ line 1 column 1 - Warning: missing <!DOCTYPE> declaration line 7 column 1 - Warning: discarding unexpected XML declaration +line 3 column 1 - Warning: blank 'title' element Info: Document content looks like HTML5 -Tidy found 2 warnings and 0 errors! +Tidy found 3 warnings and 0 errors! About HTML Tidy: https://github.com/htacg/tidy-html5 Bug reports and comments: https://github.com/htacg/tidy-html5/issues diff --git a/regression_testing/cases/legacy-expects/case-1773932.txt b/regression_testing/cases/legacy-expects/case-1773932.txt index 008c5e0..626c84f 100644 --- a/regression_testing/cases/legacy-expects/case-1773932.txt +++ b/regression_testing/cases/legacy-expects/case-1773932.txt @@ -3,9 +3,10 @@ line 7 column 1 - Warning: missing </font> before <ol> line 8 column 9 - Warning: inserting implicit <font> line 9 column 10 - Warning: inserting implicit <font> line 10 column 10 - Warning: inserting implicit <font> +line 3 column 1 - Warning: blank 'title' element line 7 column 1 - Warning: trimming empty <font> Info: Document content looks like HTML5 -Tidy found 6 warnings and 0 errors! +Tidy found 7 warnings and 0 errors! You are recommended to use CSS to specify the font and properties such as its size and color. This will reduce diff --git a/regression_testing/cases/legacy-expects/case-427675.txt b/regression_testing/cases/legacy-expects/case-427675.txt index bd4751f..98b63c2 100644 --- a/regression_testing/cases/legacy-expects/case-427675.txt +++ b/regression_testing/cases/legacy-expects/case-427675.txt @@ -1,11 +1,12 @@ line 1 column 1 - Warning: missing <!DOCTYPE> declaration line 8 column 1 - Warning: discarding unexpected <frame> line 10 column 1 - Warning: missing +line 3 column 3 - Warning: blank 'title' element line 5 column 1 - Warning: element removed from HTML5 line 6 column 3 - Warning: element removed from HTML5 line 10 column 1 - Warning: element removed from HTML5 Info: Document content looks like HTML5 -Tidy found 6 warnings and 0 errors! +Tidy found 7 warnings and 0 errors! About HTML Tidy: https://github.com/htacg/tidy-html5 Bug reports and comments: https://github.com/htacg/tidy-html5/issues diff --git a/regression_testing/cases/legacy-expects/case-427676.txt b/regression_testing/cases/legacy-expects/case-427676.txt index d391525..2dd11ad 100644 --- a/regression_testing/cases/legacy-expects/case-427676.txt +++ b/regression_testing/cases/legacy-expects/case-427676.txt @@ -5,9 +5,10 @@ line 6 column 14 - Error: <spanstyle> is not recognized! line 6 column 14 - Warning: discarding unexpected <spanstyle> line 6 column 44 - Warning: discarding unexpected </span> line 6 column 52 - Info: value for attribute "href" missing quote marks +line 3 column 3 - Warning: blank 'title' element line 6 column 52 - Warning: <a> illegal characters found in URI Info: Document content looks like HTML5 -Tidy found 6 warnings and 1 error! +Tidy found 7 warnings and 1 error! This document has errors that must be fixed before using HTML Tidy to generate a tidied up version. From ad8cae97bd15e7ee90d742eb6cd1f3892f2a559b Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 11:17:41 -0400 Subject: [PATCH 159/182] Added test case for #839. --- .../cases/github-cases/case-839@1.html | 12 ++++++++++++ .../cases/github-expects/case-839.html | 19 +++++++++++++++++++ .../cases/github-expects/case-839.txt | 14 ++++++++++++++ 3 files changed, 45 insertions(+) create mode 100755 regression_testing/cases/github-cases/case-839@1.html create mode 100644 regression_testing/cases/github-expects/case-839.html create mode 100644 regression_testing/cases/github-expects/case-839.txt diff --git a/regression_testing/cases/github-cases/case-839@1.html b/regression_testing/cases/github-cases/case-839@1.html new file mode 100755 index 0000000..0f962c8 --- /dev/null +++ b/regression_testing/cases/github-cases/case-839@1.html @@ -0,0 +1,12 @@ +<!-- +This test case represents HTML Tidy issue #839, which describes +a descrepancy between tidy's behavior and the W3C Nu HTML +checker behavior. Tidy has historically allowed empty <title> +elements, but this is not allowed by HTML5, and is flagged by +the Nu checker. Because a <title> is required by HTML5, it +would be even worse for HTML Tidy to remove this element, and +so Tidy will now provide a warning if the title element is +empty. It is assumed the HTML author will add a title as well +as addressing other warnings. + --> +<!DOCTYPE html><title></title> diff --git a/regression_testing/cases/github-expects/case-839.html b/regression_testing/cases/github-expects/case-839.html new file mode 100644 index 0000000..d32bc5c --- /dev/null +++ b/regression_testing/cases/github-expects/case-839.html @@ -0,0 +1,19 @@ +<!-- +This test case represents HTML Tidy issue #839, which describes +a descrepancy between tidy's behavior and the W3C Nu HTML +checker behavior. Tidy has historically allowed empty <title> +elements, but this is not allowed by HTML5, and is flagged by +the Nu checker. Because a <title> is required by HTML5, it +would be even worse for HTML Tidy to remove this element, and +so Tidy will now provide a warning if the title element is +empty. It is assumed the HTML author will add a title as well +as addressing other warnings. + --> +<!DOCTYPE html> +<html> +<head> + <title></title> +</head> +<body> +</body> +</html> diff --git a/regression_testing/cases/github-expects/case-839.txt b/regression_testing/cases/github-expects/case-839.txt new file mode 100644 index 0000000..7a8a19c --- /dev/null +++ b/regression_testing/cases/github-expects/case-839.txt @@ -0,0 +1,14 @@ +line 12 column 16 - Warning: blank 'title' element +Info: Document content looks like HTML5 +Tidy found 1 warning and 0 errors! + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md From 2641ff3cc3e3caad6d79275027edfef5591809b4 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 11:22:52 -0400 Subject: [PATCH 160/182] Bumped to 5.7.51 due to previous merge. --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 2135a1b..69393f6 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.50 +5.7.51 2021.06.30 From 83eb3c013681831f5e266407d5c38e819a3072bd Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 13:39:19 -0400 Subject: [PATCH 161/182] Added testcase for #938 --- .../cases/github-cases/case-938.conf | 3 +++ .../cases/github-cases/case-938@0.html | 24 +++++++++++++++++++ .../cases/github-expects/case-938.html | 23 ++++++++++++++++++ .../cases/github-expects/case-938.txt | 13 ++++++++++ 4 files changed, 63 insertions(+) create mode 100755 regression_testing/cases/github-cases/case-938.conf create mode 100755 regression_testing/cases/github-cases/case-938@0.html create mode 100644 regression_testing/cases/github-expects/case-938.html create mode 100644 regression_testing/cases/github-expects/case-938.txt diff --git a/regression_testing/cases/github-cases/case-938.conf b/regression_testing/cases/github-cases/case-938.conf new file mode 100755 index 0000000..ae68f79 --- /dev/null +++ b/regression_testing/cases/github-cases/case-938.conf @@ -0,0 +1,3 @@ +# Sample config for 938. +indent: yes +wrap: 999 diff --git a/regression_testing/cases/github-cases/case-938@0.html b/regression_testing/cases/github-cases/case-938@0.html new file mode 100755 index 0000000..da81842 --- /dev/null +++ b/regression_testing/cases/github-cases/case-938@0.html @@ -0,0 +1,24 @@ +<!-- +This test case represents HTML Tidy issue #839, which describes +a descrepancy between tidy's behavior and the W3C Nu HTML +checker behavior. Tidy has historically allowed empty <title> +elements, but this is not allowed by HTML5, and is flagged by +the Nu checker. Because a <title> is required by HTML5, it +would be even worse for HTML Tidy to remove this element, and +so Tidy will now provide a warning if the title element is +empty. It is assumed the HTML author will add a title as well +as addressing other warnings. + --> +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <title>Video Muted Attribute Test</title> + </head> + + <body> + <video autoplay loop muted playsinline> + <source src="video/Mine.mp4" type="video/mp4"> + </video> + </body> +</html> diff --git a/regression_testing/cases/github-expects/case-938.html b/regression_testing/cases/github-expects/case-938.html new file mode 100644 index 0000000..02dc7f3 --- /dev/null +++ b/regression_testing/cases/github-expects/case-938.html @@ -0,0 +1,23 @@ +<!-- +This test case represents HTML Tidy issue #839, which describes +a descrepancy between tidy's behavior and the W3C Nu HTML +checker behavior. Tidy has historically allowed empty <title> +elements, but this is not allowed by HTML5, and is flagged by +the Nu checker. Because a <title> is required by HTML5, it +would be even worse for HTML Tidy to remove this element, and +so Tidy will now provide a warning if the title element is +empty. It is assumed the HTML author will add a title as well +as addressing other warnings. + --> +<!DOCTYPE html> +<html> + <head> + <meta charset="UTF-8"> + <title> + Video Muted Attribute Test + </title> + </head> + <body> + <video autoplay="" loop="" muted playsinline><source src="video/Mine.mp4" type="video/mp4"></video> + </body> +</html> diff --git a/regression_testing/cases/github-expects/case-938.txt b/regression_testing/cases/github-expects/case-938.txt new file mode 100644 index 0000000..0d4c82c --- /dev/null +++ b/regression_testing/cases/github-expects/case-938.txt @@ -0,0 +1,13 @@ +Info: Document content looks like HTML5 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md From df8df89625aa6a90c1e7e5718feebcb2a3f0034b Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 13:42:14 -0400 Subject: [PATCH 162/182] Bumped to 5.7.52 based on previous PR merge. --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 69393f6..e9e9843 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.51 +5.7.52 2021.06.30 From 25fbb0f9859f0b40816ca4520f1cf3fd5f1fcf37 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Wed, 30 Jun 2021 14:10:36 -0400 Subject: [PATCH 163/182] Bumped to 5.7.53 based on previous PR merge. --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index e9e9843..3b179ff 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.52 +5.7.53 2021.06.30 From ef3157e0ec304081de3d28e9f222638a0de3ae90 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Thu, 1 Jul 2021 15:36:27 -0400 Subject: [PATCH 164/182] Fix issues with user-specified settings changing User-specified settings were being fiddled with by tidy internally. User settings set by the user should always be able to be read back by the user, but `AdjustConfig()` would change them. This change contributes toward fixing the situation by using `AdjustConfig()` at the only point that it's needed, as well by NOT automatically reverting to the snapshot after outputting a buffer (which should be stateless, but caused PHP to break because it tried to save buffer more than once, so subsequent calls would use non-fiddle settings.). --- include/tidy.h | 8 ++++---- src/config.c | 22 +++++++++++++++++----- src/config.h | 14 ++++++++++++++ src/tidylib.c | 8 +++++--- 4 files changed, 40 insertions(+), 12 deletions(-) diff --git a/include/tidy.h b/include/tidy.h index da80857..35c3b21 100644 --- a/include/tidy.h +++ b/include/tidy.h @@ -548,10 +548,10 @@ TIDY_EXPORT int TIDY_CALL tidySetOutCharEncoding(TidyDoc tdoc, /**< The ** @note In general, you should expect that options you set should stay set. ** This isn't always the case, though, because Tidy will adjust options ** for internal use during the lexing, parsing, cleaning, and printing - ** phases, but will restore them after the printing process. If you - ** require access to user configuration values at any time between the - ** tidyParseXXX() process and the tidySaveXXX() process, make sure to - ** keep your own copy. + ** phases. If you require access to user configuration values at any + ** time after the tidyParseXXX() process, make sure to keep your own + ** copy, or use tidyOptResetToSnapshot() when you no longer need to + ** use any other tidy functions. ** @{ ******************************************************************************/ diff --git a/src/config.c b/src/config.c index bae56b8..4a132f5 100644 --- a/src/config.c +++ b/src/config.c @@ -304,7 +304,6 @@ static const struct { /* forward declarations */ -static void AdjustConfig( TidyDocImpl* doc ); static Bool GetPickListValue( ctmbstr value, PickListItems* pickList, uint *result ); @@ -713,7 +712,11 @@ void TY_(TakeConfigSnapshot)( TidyDocImpl* doc ) const TidyOptionValue* value = &doc->config.value[ 0 ]; TidyOptionValue* snap = &doc->config.snapshot[ 0 ]; - AdjustConfig( doc ); /* Make sure it's consistent */ + /* @jsd: do NOT mess with user-specified settings until + * absolutely necessary, and ensure that we can + * can restore them immediately after the need. + */ + // TY_(AdjustConfig)( doc ); /* Make sure it's consistent */ for ( ixVal=0; ixVal < N_TIDY_OPTIONS; ++option, ++ixVal ) { assert( ixVal == (uint) option->id ); @@ -762,7 +765,12 @@ void TY_(CopyConfig)( TidyDocImpl* docTo, TidyDocImpl* docFrom ) } if ( needReparseTagsDecls ) ReparseTagDecls( docTo, changedUserTags ); - AdjustConfig( docTo ); /* Make sure it's consistent */ + + /* @jsd: do NOT mess with user-specified settings until + * absolutely necessary, and ensure that we can + * can restore them immediately after the need. + */ + // TY_(AdjustConfig)( docTo ); /* Make sure it's consistent */ } } @@ -1074,7 +1082,11 @@ int TY_(ParseConfigFileEnc)( TidyDocImpl* doc, ctmbstr file, ctmbstr charenc ) if ( fname != (tmbstr) file ) TidyDocFree( doc, fname ); - AdjustConfig( doc ); + /* @jsd: do NOT mess with user-specified settings until + * absolutely necessary, and ensure that we can + * can restore them immediately after the need. + */ + // TY_(AdjustConfig)( docTo ); /* Make sure it's consistent */ /* any new config errors? If so, return warning status. */ return (doc->optionErrors > opterrs ? 1 : 0); @@ -1214,7 +1226,7 @@ Bool TY_(AdjustCharEncoding)( TidyDocImpl* doc, int encoding ) /* ensure that config is self consistent */ -static void AdjustConfig( TidyDocImpl* doc ) +void TY_(AdjustConfig)( TidyDocImpl* doc ) { if ( cfgBool(doc, TidyEncloseBlockText) ) TY_(SetOptionBool)( doc, TidyEncloseBodyText, yes ); diff --git a/src/config.h b/src/config.h index d89338d..a86b5c5 100644 --- a/src/config.h +++ b/src/config.h @@ -335,6 +335,20 @@ Bool TY_(ParseConfigValue)( TidyDocImpl* doc, TidyOptionId optId, ctmbstr optVa Bool TY_(AdjustCharEncoding)( TidyDocImpl* doc, int encoding ); +/** Ensure that the configuration options are self consistent. + ** THIS PROCESS IS DESTRUCTIVE TO THE USER STATE. It examines + ** certain user-specified options and changes other options + ** as a result. This means that documented API functions such + ** as tidyOptGetValue() won't return the user-set values after + ** this is used. As a result, *don't* just use this function + ** at every opportunity, but only where needed, which is ONLY + ** prior to parsing a stream, and again prior to saving a + ** stream (because we reset after parsing.) + ** @param doc The Tidy document to adjust. + */ +void TY_(AdjustConfig)( TidyDocImpl* doc ); + + /** Indicates whether or not the current configuration is completely default. ** @param doc The Tidy document. ** @returns The result. diff --git a/src/tidylib.c b/src/tidylib.c index de08d91..4485d1a 100644 --- a/src/tidylib.c +++ b/src/tidylib.c @@ -1462,8 +1462,9 @@ int TY_(DocParseStream)( TidyDocImpl* doc, StreamIn* in ) assert( doc->docIn == NULL ); doc->docIn = in; - TY_(ResetTags)(doc); /* reset table to html5 mode */ - TY_(TakeConfigSnapshot)( doc ); /* Save config state */ + TY_(ResetTags)(doc); /* Reset table to html5 mode */ + TY_(TakeConfigSnapshot)( doc ); /* Save config state */ + TY_(AdjustConfig)( doc ); /* Ensure config internal consistency */ TY_(FreeAnchors)( doc ); TY_(FreeNode)(doc, &doc->root); @@ -2283,7 +2284,8 @@ int tidyDocSaveStream( TidyDocImpl* doc, StreamOut* out ) doc->docOut = NULL; } - TY_(ResetConfigToSnapshot)( doc ); + /* @jsd: removing this should solve #673, and allow saving of the buffer multiple times. */ +// TY_(ResetConfigToSnapshot)( doc ); doc->pConfigChangeCallback = callback; return tidyDocStatus( doc ); From bed8efb620797a41a5d5851eefcfff34a0c4e1f1 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Thu, 1 Jul 2021 16:14:53 -0400 Subject: [PATCH 165/182] Bump to 5.7.54 based on settings fix. --- version.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/version.txt b/version.txt index 3b179ff..570e263 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.53 -2021.06.30 +5.7.54 +2021.07.31 From 0c2fd9b3ef7b9b4e06ceddda91ddb816b2155a0b Mon Sep 17 00:00:00 2001 From: Vitaly Zdanevich <zdanevich.vitaly@ya.ru> Date: Sat, 3 Jul 2021 02:47:47 +0300 Subject: [PATCH 166/182] README.md: add Wikidata link --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 9dc1964..37087b7 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,7 @@ Tidy supports localization, and welcomes translations into various languages. Pl - bugs: [https://github.com/htacg/tidy-html5/issues][7] - list: [https://lists.w3.org/Archives/Public/html-tidy/][8] - api and quickref: [http://api.html-tidy.org/][9] + - Wikidata: [https://www.wikidata.org/wiki/Q1566084][10] [4]: http://www.html-tidy.org/ [5]: https://github.com/htacg/tidy-html5 @@ -57,6 +58,7 @@ Tidy supports localization, and welcomes translations into various languages. Pl [7]: https://github.com/htacg/tidy-html5/issues [8]: https://lists.w3.org/Archives/Public/html-tidy/ [9]: http://api.html-tidy.org/ + [10]: https://www.wikidata.org/wiki/Q1566084 ## History From 2614283fafdd5e43bc53177553429b6555b2ea49 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Fri, 9 Jul 2021 15:16:07 -0400 Subject: [PATCH 167/182] Added documentation per #744. No version bump for documentation change. --- include/tidy.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/tidy.h b/include/tidy.h index 35c3b21..c8c77a3 100644 --- a/include/tidy.h +++ b/include/tidy.h @@ -1568,7 +1568,9 @@ TIDY_EXPORT int TIDY_CALL tidyParseFile(TidyDoc tdoc, /**< The tidy d */ TIDY_EXPORT int TIDY_CALL tidyParseStdin( TidyDoc tdoc ); -/** Parse markup in given string. +/** Parse markup in given string. Note that the supplied string is of type + ** `ctmbstr` based on `char` and therefore doesn't support the use of + ** UTF-16 strings. Use `tidyParseBuffer()` if parsing multibyte strings. ** @result Returns the highest of `2` indicating that errors were present in ** the document, `1` indicating warnings, and `0` in the case of ** everything being okay. From 3dab4b31cee03faf46ef4a72cba94563fd218d9a Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Fri, 9 Jul 2021 15:26:57 -0400 Subject: [PATCH 168/182] Fixed documentation for accessibility checking per #756; bump version due to public facing change. --- src/language_en.h | 12 +++++++++--- version.txt | 4 ++-- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/language_en.h b/src/language_en.h index 5171bd0..f5b7c71 100644 --- a/src/language_en.h +++ b/src/language_en.h @@ -78,10 +78,16 @@ static languageDefinition language_en = { whichPluralForm_en, { "This option specifies what level of accessibility checking, if any, " "that Tidy should perform. " "<br/>" - "Level <var>0 (Tidy Classic)</var> is equivalent to Tidy Classic's accessibility " - "checking. " + "Level <var>0 (Tidy Classic)</var> performs no additional accessibility checking. " "<br/>" - "For more information on Tidy's accessibility checking, visit " + "Level <var>1 (Priority 1 Checks)</var> performs the Priority Level 1 checks." + "<br/>" + "Level <var>2 (Priority 2 Checks)</var> performs the Priority Level 1 and 2 checks." + "<br/>" + "Level <var>3 (Priority 3 Checks)</var> performs the Priority Level 1, 2, and 3 checks." + "<br/>" + "For more information on Tidy's accessibility checking, including the specific " + "checks that are made for each Priority Level, please visit " "<a href=\"http://www.html-tidy.org/accessibility/\"> Tidy's Accessibility Page</a>. " }, {/* Important notes for translators: diff --git a/version.txt b/version.txt index 570e263..acb77d4 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.54 -2021.07.31 +5.7.55 +2021.07.09 From 1dc627551208827c73f6a8725b6d171ab13c9e29 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Fri, 9 Jul 2021 15:29:16 -0400 Subject: [PATCH 169/182] Fixes #765. --- src/language_en.h | 2 +- version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/language_en.h b/src/language_en.h index f5b7c71..d69c232 100644 --- a/src/language_en.h +++ b/src/language_en.h @@ -491,7 +491,7 @@ static languageDefinition language_en = { whichPluralForm_en, { "for HTML5 document types, and <var>yes</var> for all other document " "types. " "<br/>" - "HTML has abandonded SGML comment syntax, and allows adjacent hypens " + "HTML has abandoned SGML comment syntax, and allows adjacent hyphens " "for all versions of HTML, although XML and XHTML do not. If you plan " "to support older browsers that require SGML comment syntax, then " "consider setting this value to <var>yes</var>." diff --git a/version.txt b/version.txt index acb77d4..b2975cc 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.55 +5.7.56 2021.07.09 From d54dcda389bb01ae796d0d17e2b19063cd1a97c7 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Fri, 9 Jul 2021 15:33:31 -0400 Subject: [PATCH 170/182] Fixes #775. No version bump due to documentation only change. --- include/tidy.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/tidy.h b/include/tidy.h index c8c77a3..71e62dc 100644 --- a/include/tidy.h +++ b/include/tidy.h @@ -1916,7 +1916,8 @@ TIDY_EXPORT Bool TIDY_CALL tidyNodeHasText(TidyDoc tdoc, /**< The document to qu TidyNode tnod /**< The node to query. */ ); -/** Gets the text of a node and places it into the given TidyBuffer. +/** Gets the text of a node and places it into the given TidyBuffer. The text will be terminated with a `TidyNewline`. + ** If you want the raw utf-8 stream see `tidyNodeGetValue()`. ** @result Returns a bool indicating success or not. */ TIDY_EXPORT Bool TIDY_CALL tidyNodeGetText(TidyDoc tdoc, /**< The document to query. */ From 8d3019da226eeb1693e08f5ce8e8d31afdeb26ae Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Fri, 9 Jul 2021 15:39:37 -0400 Subject: [PATCH 171/182] Fixes #798. Version bump due to potential behavior change. --- src/lexer.c | 10 ++++++---- version.txt | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/lexer.c b/src/lexer.c index b7f3e78..bc4e50a 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -1035,7 +1035,7 @@ static SPStatus GetSurrogatePair(TidyDocImpl* doc, Bool isXml, uint *pch) { Lexer* lexer = doc->lexer; uint bufSize = 32; - uint c, ch, offset = 0; + uint c, ch = 0, offset = 0; tmbstr buf = 0; SPStatus status = SP_error; /* assume failed */ int type = 0; /* assume numeric */ @@ -1088,13 +1088,15 @@ static SPStatus GetSurrogatePair(TidyDocImpl* doc, Bool isXml, uint *pch) if (c == ';') { + int scanned; + buf[offset] = 0; if (type) - sscanf(buf + 2, "%x", &ch); + scanned = sscanf(buf + 2, "%x", &ch); else - sscanf(buf + 1, "%d", &ch); + scanned = sscanf(buf + 1, "%d", &ch); - if (TY_(IsHighSurrogate)(ch)) + if (scanned == 1 && TY_(IsHighSurrogate)(ch)) { ch = TY_(CombineSurrogatePair)(ch, fch); if (TY_(IsValidCombinedChar)(ch)) diff --git a/version.txt b/version.txt index b2975cc..340d04c 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.56 +5.7.57 2021.07.09 From 009da61f8b49739718c4b2be14af54a172a6286e Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Fri, 9 Jul 2021 15:51:14 -0400 Subject: [PATCH 172/182] Fixes #836. Version bump to reflect change. Test cases added. --- .../cases/github-cases/case-836.conf | 3 ++ .../cases/github-cases/case-836@0.html | 22 +++++++++++++++ .../cases/github-expects/case-836.html | 28 +++++++++++++++++++ .../cases/github-expects/case-836.txt | 13 +++++++++ src/tags.c | 2 +- version.txt | 2 +- 6 files changed, 68 insertions(+), 2 deletions(-) create mode 100755 regression_testing/cases/github-cases/case-836.conf create mode 100755 regression_testing/cases/github-cases/case-836@0.html create mode 100644 regression_testing/cases/github-expects/case-836.html create mode 100644 regression_testing/cases/github-expects/case-836.txt diff --git a/regression_testing/cases/github-cases/case-836.conf b/regression_testing/cases/github-cases/case-836.conf new file mode 100755 index 0000000..ae68f79 --- /dev/null +++ b/regression_testing/cases/github-cases/case-836.conf @@ -0,0 +1,3 @@ +# Sample config for 938. +indent: yes +wrap: 999 diff --git a/regression_testing/cases/github-cases/case-836@0.html b/regression_testing/cases/github-cases/case-836@0.html new file mode 100755 index 0000000..159a0b1 --- /dev/null +++ b/regression_testing/cases/github-cases/case-836@0.html @@ -0,0 +1,22 @@ +<!-- +This test case represents HTML Tidy issue #839, which describes +a descrepancy between tidy's behavior and the W3C Nu HTML +checker behavior. Tidy has historically allowed empty <title> +elements, but this is not allowed by HTML5, and is flagged by +the Nu checker. Because a <title> is required by HTML5, it +would be even worse for HTML Tidy to remove this element, and +so Tidy will now provide a warning if the title element is +empty. It is assumed the HTML author will add a title as well +as addressing other warnings. + --> +<!DOCTYPE html> +<html lang="en"> +<head> +<meta charset="utf-8" /> +<title>Issue #836</title> +<template>hi</template> +</head> +<body> +<p>Issue #836</p> +</body> +</html> diff --git a/regression_testing/cases/github-expects/case-836.html b/regression_testing/cases/github-expects/case-836.html new file mode 100644 index 0000000..4b0861a --- /dev/null +++ b/regression_testing/cases/github-expects/case-836.html @@ -0,0 +1,28 @@ +<!-- +This test case represents HTML Tidy issue #839, which describes +a descrepancy between tidy's behavior and the W3C Nu HTML +checker behavior. Tidy has historically allowed empty <title> +elements, but this is not allowed by HTML5, and is flagged by +the Nu checker. Because a <title> is required by HTML5, it +would be even worse for HTML Tidy to remove this element, and +so Tidy will now provide a warning if the title element is +empty. It is assumed the HTML author will add a title as well +as addressing other warnings. + --> +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8"> + <title> + Issue #836 + </title> + <template> + hi + </template> + </head> + <body> + <p> + Issue #836 + </p> + </body> +</html> diff --git a/regression_testing/cases/github-expects/case-836.txt b/regression_testing/cases/github-expects/case-836.txt new file mode 100644 index 0000000..0d4c82c --- /dev/null +++ b/regression_testing/cases/github-expects/case-836.txt @@ -0,0 +1,13 @@ +Info: Document content looks like HTML5 +No warnings or errors were found. + +About HTML Tidy: https://github.com/htacg/tidy-html5 +Bug reports and comments: https://github.com/htacg/tidy-html5/issues +Official mailing list: https://lists.w3.org/Archives/Public/public-htacg/ +Latest HTML specification: http://dev.w3.org/html5/spec-author-view/ +Validate your HTML documents: http://validator.w3.org/nu/ +Lobby your company to join the W3C: http://www.w3.org/Consortium + +Do you speak a language other than English, or a different variant of +English? Consider helping us to localize HTML Tidy. For details please see +https://github.com/htacg/tidy-html5/blob/master/README/LOCALIZE.md diff --git a/src/tags.c b/src/tags.c index 70fb5ac..095c20c 100644 --- a/src/tags.c +++ b/src/tags.c @@ -325,7 +325,7 @@ static Dict tag_defs[] = { TidyTag_SLOT, "slot", VERS_ELEM_SLOT, &TY_(W3CAttrsFor_SLOT)[0], (CM_BLOCK|CM_INLINE|CM_MIXED), TY_(ParseBlock), NULL }, { TidyTag_SOURCE, "source", VERS_ELEM_SOURCE, &TY_(W3CAttrsFor_SOURCE)[0], (CM_BLOCK|CM_INLINE|CM_EMPTY), TY_(ParseBlock), NULL }, { TidyTag_SUMMARY, "summary", VERS_ELEM_SUMMARY, &TY_(W3CAttrsFor_SUMMARY)[0], (CM_BLOCK), TY_(ParseBlock), NULL }, /* Is. #895 */ - { TidyTag_TEMPLATE, "template", VERS_ELEM_TEMPLATE, &TY_(W3CAttrsFor_TEMPLATE)[0], (CM_BLOCK), TY_(ParseBlock), NULL }, + { TidyTag_TEMPLATE, "template", VERS_ELEM_TEMPLATE, &TY_(W3CAttrsFor_TEMPLATE)[0], (CM_BLOCK|CM_HEAD), TY_(ParseBlock), NULL }, { TidyTag_TIME, "time", VERS_ELEM_TIME, &TY_(W3CAttrsFor_TIME)[0], (CM_INLINE), TY_(ParseInline), NULL }, { TidyTag_TRACK, "track", VERS_ELEM_TRACK, &TY_(W3CAttrsFor_TRACK)[0], (CM_BLOCK|CM_EMPTY), TY_(ParseBlock), NULL }, { TidyTag_VIDEO, "video", VERS_ELEM_VIDEO, &TY_(W3CAttrsFor_VIDEO)[0], (CM_BLOCK|CM_INLINE), TY_(ParseBlock), NULL }, diff --git a/version.txt b/version.txt index 340d04c..5367c8e 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.57 +5.7.58 2021.07.09 From 089659cafc3e1aeb7dfc2a9234782c9ddeeb496a Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Fri, 9 Jul 2021 16:10:24 -0400 Subject: [PATCH 173/182] Fixes #846. Version bump due to user-facing change. --- man/tidy1.xsl.in | 2 ++ version.txt | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/man/tidy1.xsl.in b/man/tidy1.xsl.in index a1d9cfd..e4271db 100644 --- a/man/tidy1.xsl.in +++ b/man/tidy1.xsl.in @@ -98,6 +98,8 @@ Single-letter \fIcommand-line\fR options without an associated value can be combined; for example '\fB-i\fR', '\fB-m\fR' and '\fB-u\fR' may be combined as '\fB-imu\fR'.<xsl:text/> <xsl:call-template name="show-cmdline-options" /> +.SS Configuration Options General +.rs .LP \fIConfiguration\fR options can be specified by preceding each option with \fB--\fR at the command line, diff --git a/version.txt b/version.txt index 5367c8e..69acc16 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.58 +5.7.59 2021.07.09 From 92414e8b68705f9d074eca4334fa7155ee6b7351 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Fri, 9 Jul 2021 20:40:17 -0400 Subject: [PATCH 174/182] Fixes #952 on non-WIN32 platforms. Modify WIN32 static library to tidy_static instead of tidys. --- CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 49f9f9a..677f08a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -383,8 +383,14 @@ endif () #------------------------------------------------------------------------ set(name tidy-static) add_library ( ${name} STATIC ${CFILES} ${HFILES} ${LIBHFILES} ) -set_target_properties( ${name} PROPERTIES - OUTPUT_NAME ${LIB_NAME}s ) +if (WIN32) + set_target_properties( ${name} PROPERTIES + OUTPUT_NAME ${LIB_NAME}_static ) +else () + set_target_properties( ${name} PROPERTIES + OUTPUT_NAME ${LIB_NAME} ) + +endif () if (NOT TIDY_CONSOLE_SHARED) # user wants default static linkage list ( APPEND add_LIBS ${name} ) endif () From 79ff5ab896c451f203837d6ca99b2d8a1f530400 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Sat, 10 Jul 2021 09:35:25 -0400 Subject: [PATCH 175/182] Fixes #736. Language translators, please take a look at your translations. Version bump due to user-facing change. --- src/language_de.h | 3 --- src/language_en.h | 7 ++----- src/language_fr.h | 3 +-- src/language_pt_br.h | 4 +--- version.txt | 4 ++-- 5 files changed, 6 insertions(+), 15 deletions(-) diff --git a/src/language_de.h b/src/language_de.h index afc680d..6f7deed 100644 --- a/src/language_de.h +++ b/src/language_de.h @@ -1557,9 +1557,6 @@ static languageDefinition language_de = { whichPluralForm_de, { /* option-name: wrap-script-literals */ "Mit dieser Option wird bestimmt, ob Tidy Literale, die in Skript-Attributen " "auftauchen, umbrechen soll. " - "<br/>" - "Tidy bricht Skript-Literale um, indem es vor jedem Zeilenumbruch einen Backslash " - "einsetzt. " }, {/* Important notes for translators: - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and diff --git a/src/language_en.h b/src/language_en.h index d69c232..6f3175f 100644 --- a/src/language_en.h +++ b/src/language_en.h @@ -1510,11 +1510,8 @@ static languageDefinition language_en = { whichPluralForm_en, { - The strings "Tidy" and "HTML Tidy" are the program name and must not be translated. */ TidyWrapScriptlets, 0, - "This option specifies if Tidy should line wrap string literals that " - "appear in script attributes. " - "<br/>" - "Tidy wraps long script string literals by inserting a backslash character " - "before the line break. " + "This option specifies if Tidy should line wrap string literals assigned " + "to element event handler attributes, such as element.onmouseover()." }, {/* Important notes for translators: - Use only <code></code>, <var></var>, <em></em>, <strong></strong>, and diff --git a/src/language_fr.h b/src/language_fr.h index aeaaa6f..06ec9b1 100644 --- a/src/language_fr.h +++ b/src/language_fr.h @@ -505,8 +505,7 @@ static languageDefinition language_fr = { whichPluralForm_fr, { }, { TidyWrapScriptlets, 0, "Cette option précise si Tidy doit ajouter des sauts de lignes aux chaînes littérales dans les " - "attributs de script. <br/>Tidy prend en charge la césure des longues chaînes littérales de scripts " - "en ajoutant un caractère de barre oblique arrière (backslash) avant le saut de ligne. " + "attributs de script. " }, { TidyWrapSection, 0, "Cette option précise si Tidy doit ajouter des sauts de ligne pour le texte compris dans des balises " diff --git a/src/language_pt_br.h b/src/language_pt_br.h index f64fd32..0e4ea08 100644 --- a/src/language_pt_br.h +++ b/src/language_pt_br.h @@ -576,9 +576,7 @@ static languageDefinition language_pt_br = { whichPluralForm_pt_br, { }, { TidyWrapScriptlets, 0, "Esta opção especifica se Tidy deve efetuar quebra de linha em string " - "literais que aparecem em atributos de script. <br/>Tidy efetua essa quebra " - "em string literais de scripts longos inserindo um caractere de barra " - "invertida antes da quebra de linha. " + "literais que aparecem em atributos de script." }, { TidyWrapSection, 0, "Essa opção especifica se o Tidy deve efetuar quebra de linha de textos " diff --git a/version.txt b/version.txt index 69acc16..9bb1595 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.59 -2021.07.09 +5.7.60 +2021.07.10 From f95540b5c9b70c9256176531dadda16d91cc3aa5 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Sat, 10 Jul 2021 11:13:58 -0400 Subject: [PATCH 176/182] Fixed merge conflict; fixed non-build issue on macOS. RC for testing. --- src/access.h | 2 +- src/attrdict.h | 274 +++++++++++++++++++++++------------------------ src/attrs.h | 60 +++++------ src/charsets.h | 20 ++-- src/clean.h | 53 +++++---- src/config.h | 70 ++++++------ src/entities.h | 4 +- src/fileio.h | 12 +-- src/forward.h | 9 +- src/gdoc.h | 2 +- src/language.c | 35 +++--- src/language.h | 32 +++--- src/lexer.h | 122 ++++++++++----------- src/message.c | 2 +- src/message.h | 50 ++++----- src/messageobj.h | 58 +++++----- src/parser.c | 6 +- src/parser.h | 34 +++--- src/pprint.c | 2 +- src/pprint.h | 16 +-- src/streamio.h | 42 ++++---- src/tags.h | 96 ++++++++--------- src/tidy-int.h | 4 +- src/tidylib.c | 6 +- src/tmbstr.h | 38 +++---- src/utf8.h | 22 ++-- 26 files changed, 544 insertions(+), 527 deletions(-) diff --git a/src/access.h b/src/access.h index cbb6257..b44a1a5 100644 --- a/src/access.h +++ b/src/access.h @@ -84,7 +84,7 @@ struct _TidyAccessImpl }; -void TY_(AccessibilityChecks)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(AccessibilityChecks)( TidyDocImpl* doc ); #endif /* __ACCESS_H__ */ diff --git a/src/attrdict.h b/src/attrdict.h index 4576300..4ecf169 100644 --- a/src/attrdict.h +++ b/src/attrdict.h @@ -16,143 +16,143 @@ typedef struct _AttrVersion uint versions; } AttrVersion; -extern const AttrVersion TY_(W3CAttrsFor_A)[]; -extern const AttrVersion TY_(W3CAttrsFor_ABBR)[]; -extern const AttrVersion TY_(W3CAttrsFor_ACRONYM)[]; -extern const AttrVersion TY_(W3CAttrsFor_ADDRESS)[]; -extern const AttrVersion TY_(W3CAttrsFor_APPLET)[]; -extern const AttrVersion TY_(W3CAttrsFor_AREA)[]; -extern const AttrVersion TY_(W3CAttrsFor_B)[]; -extern const AttrVersion TY_(W3CAttrsFor_BASE)[]; -extern const AttrVersion TY_(W3CAttrsFor_BASEFONT)[]; -extern const AttrVersion TY_(W3CAttrsFor_BDO)[]; -extern const AttrVersion TY_(W3CAttrsFor_BIG)[]; -extern const AttrVersion TY_(W3CAttrsFor_BLOCKQUOTE)[]; -extern const AttrVersion TY_(W3CAttrsFor_BODY)[]; -extern const AttrVersion TY_(W3CAttrsFor_BR)[]; -extern const AttrVersion TY_(W3CAttrsFor_BUTTON)[]; -extern const AttrVersion TY_(W3CAttrsFor_CAPTION)[]; -extern const AttrVersion TY_(W3CAttrsFor_CENTER)[]; -extern const AttrVersion TY_(W3CAttrsFor_CITE)[]; -extern const AttrVersion TY_(W3CAttrsFor_CODE)[]; -extern const AttrVersion TY_(W3CAttrsFor_COL)[]; -extern const AttrVersion TY_(W3CAttrsFor_COLGROUP)[]; -extern const AttrVersion TY_(W3CAttrsFor_DD)[]; -extern const AttrVersion TY_(W3CAttrsFor_DEL)[]; -extern const AttrVersion TY_(W3CAttrsFor_DFN)[]; -extern const AttrVersion TY_(W3CAttrsFor_DIR)[]; -extern const AttrVersion TY_(W3CAttrsFor_DIV)[]; -extern const AttrVersion TY_(W3CAttrsFor_DL)[]; -extern const AttrVersion TY_(W3CAttrsFor_DT)[]; -extern const AttrVersion TY_(W3CAttrsFor_EM)[]; -extern const AttrVersion TY_(W3CAttrsFor_FIELDSET)[]; -extern const AttrVersion TY_(W3CAttrsFor_FONT)[]; -extern const AttrVersion TY_(W3CAttrsFor_FORM)[]; -extern const AttrVersion TY_(W3CAttrsFor_FRAME)[]; -extern const AttrVersion TY_(W3CAttrsFor_FRAMESET)[]; -extern const AttrVersion TY_(W3CAttrsFor_H1)[]; -extern const AttrVersion TY_(W3CAttrsFor_H2)[]; -extern const AttrVersion TY_(W3CAttrsFor_H3)[]; -extern const AttrVersion TY_(W3CAttrsFor_H4)[]; -extern const AttrVersion TY_(W3CAttrsFor_H5)[]; -extern const AttrVersion TY_(W3CAttrsFor_H6)[]; -extern const AttrVersion TY_(W3CAttrsFor_HEAD)[]; -extern const AttrVersion TY_(W3CAttrsFor_HR)[]; -extern const AttrVersion TY_(W3CAttrsFor_HTML)[]; -extern const AttrVersion TY_(W3CAttrsFor_I)[]; -extern const AttrVersion TY_(W3CAttrsFor_IFRAME)[]; -extern const AttrVersion TY_(W3CAttrsFor_IMG)[]; -extern const AttrVersion TY_(W3CAttrsFor_INPUT)[]; -extern const AttrVersion TY_(W3CAttrsFor_INS)[]; -extern const AttrVersion TY_(W3CAttrsFor_ISINDEX)[]; -extern const AttrVersion TY_(W3CAttrsFor_KBD)[]; -extern const AttrVersion TY_(W3CAttrsFor_LABEL)[]; -extern const AttrVersion TY_(W3CAttrsFor_LEGEND)[]; -extern const AttrVersion TY_(W3CAttrsFor_LI)[]; -extern const AttrVersion TY_(W3CAttrsFor_LINK)[]; -extern const AttrVersion TY_(W3CAttrsFor_LISTING)[]; -extern const AttrVersion TY_(W3CAttrsFor_MAP)[]; -extern const AttrVersion TY_(W3CAttrsFor_MATHML)[]; /* [i_a]2 */ -extern const AttrVersion TY_(W3CAttrsFor_MENU)[]; -extern const AttrVersion TY_(W3CAttrsFor_META)[]; -extern const AttrVersion TY_(W3CAttrsFor_NEXTID)[]; -extern const AttrVersion TY_(W3CAttrsFor_NOFRAMES)[]; -extern const AttrVersion TY_(W3CAttrsFor_NOSCRIPT)[]; -extern const AttrVersion TY_(W3CAttrsFor_OBJECT)[]; -extern const AttrVersion TY_(W3CAttrsFor_OL)[]; -extern const AttrVersion TY_(W3CAttrsFor_OPTGROUP)[]; -extern const AttrVersion TY_(W3CAttrsFor_OPTION)[]; -extern const AttrVersion TY_(W3CAttrsFor_P)[]; -extern const AttrVersion TY_(W3CAttrsFor_PARAM)[]; -extern const AttrVersion TY_(W3CAttrsFor_PICTURE)[]; /* Issue #151 - html5 */ -extern const AttrVersion TY_(W3CAttrsFor_PLAINTEXT)[]; -extern const AttrVersion TY_(W3CAttrsFor_PRE)[]; -extern const AttrVersion TY_(W3CAttrsFor_Q)[]; -extern const AttrVersion TY_(W3CAttrsFor_RB)[]; -extern const AttrVersion TY_(W3CAttrsFor_RBC)[]; -extern const AttrVersion TY_(W3CAttrsFor_RP)[]; -extern const AttrVersion TY_(W3CAttrsFor_RT)[]; -extern const AttrVersion TY_(W3CAttrsFor_RTC)[]; -extern const AttrVersion TY_(W3CAttrsFor_RUBY)[]; -extern const AttrVersion TY_(W3CAttrsFor_S)[]; -extern const AttrVersion TY_(W3CAttrsFor_SAMP)[]; -extern const AttrVersion TY_(W3CAttrsFor_SCRIPT)[]; -extern const AttrVersion TY_(W3CAttrsFor_SELECT)[]; -extern const AttrVersion TY_(W3CAttrsFor_SMALL)[]; -extern const AttrVersion TY_(W3CAttrsFor_SPAN)[]; -extern const AttrVersion TY_(W3CAttrsFor_STRIKE)[]; -extern const AttrVersion TY_(W3CAttrsFor_STRONG)[]; -extern const AttrVersion TY_(W3CAttrsFor_STYLE)[]; -extern const AttrVersion TY_(W3CAttrsFor_SUB)[]; -extern const AttrVersion TY_(W3CAttrsFor_SUP)[]; -extern const AttrVersion TY_(W3CAttrsFor_SVG)[]; -extern const AttrVersion TY_(W3CAttrsFor_TABLE)[]; -extern const AttrVersion TY_(W3CAttrsFor_TBODY)[]; -extern const AttrVersion TY_(W3CAttrsFor_TD)[]; -extern const AttrVersion TY_(W3CAttrsFor_TEXTAREA)[]; -extern const AttrVersion TY_(W3CAttrsFor_TFOOT)[]; -extern const AttrVersion TY_(W3CAttrsFor_TH)[]; -extern const AttrVersion TY_(W3CAttrsFor_THEAD)[]; -extern const AttrVersion TY_(W3CAttrsFor_TITLE)[]; -extern const AttrVersion TY_(W3CAttrsFor_TR)[]; -extern const AttrVersion TY_(W3CAttrsFor_TT)[]; -extern const AttrVersion TY_(W3CAttrsFor_U)[]; -extern const AttrVersion TY_(W3CAttrsFor_UL)[]; -extern const AttrVersion TY_(W3CAttrsFor_VAR)[]; -extern const AttrVersion TY_(W3CAttrsFor_XMP)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_A)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_ABBR)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_ACRONYM)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_ADDRESS)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_APPLET)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_AREA)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_B)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_BASE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_BASEFONT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_BDO)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_BIG)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_BLOCKQUOTE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_BODY)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_BR)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_BUTTON)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_CAPTION)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_CENTER)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_CITE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_CODE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_COL)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_COLGROUP)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DD)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DEL)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DFN)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DIR)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DIV)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DL)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_EM)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_FIELDSET)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_FONT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_FORM)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_FRAME)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_FRAMESET)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_H1)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_H2)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_H3)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_H4)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_H5)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_H6)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_HEAD)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_HR)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_HTML)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_I)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_IFRAME)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_IMG)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_INPUT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_INS)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_ISINDEX)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_KBD)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_LABEL)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_LEGEND)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_LI)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_LINK)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_LISTING)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_MAP)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_MATHML)[]; /* [i_a]2 */ +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_MENU)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_META)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_NEXTID)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_NOFRAMES)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_NOSCRIPT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_OBJECT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_OL)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_OPTGROUP)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_OPTION)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_P)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_PARAM)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_PICTURE)[]; /* Issue #151 - html5 */ +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_PLAINTEXT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_PRE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_Q)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_RB)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_RBC)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_RP)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_RT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_RTC)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_RUBY)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_S)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SAMP)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SCRIPT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SELECT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SMALL)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SPAN)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_STRIKE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_STRONG)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_STYLE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SUB)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SUP)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SVG)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TABLE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TBODY)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TD)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TEXTAREA)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TFOOT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TH)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_THEAD)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TITLE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TR)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_U)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_UL)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_VAR)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_XMP)[]; -extern const AttrVersion TY_(W3CAttrsFor_TRACK)[]; -extern const AttrVersion TY_(W3CAttrsFor_SUMMARY)[]; -extern const AttrVersion TY_(W3CAttrsFor_FIGCAPTION)[]; -extern const AttrVersion TY_(W3CAttrsFor_HGROUP)[]; -extern const AttrVersion TY_(W3CAttrsFor_FIGURE)[]; -extern const AttrVersion TY_(W3CAttrsFor_ARTICLE)[]; -extern const AttrVersion TY_(W3CAttrsFor_ASIDE)[]; -extern const AttrVersion TY_(W3CAttrsFor_BDI)[]; -extern const AttrVersion TY_(W3CAttrsFor_NAV)[]; -extern const AttrVersion TY_(W3CAttrsFor_SECTION)[]; -extern const AttrVersion TY_(W3CAttrsFor_FOOTER)[]; -extern const AttrVersion TY_(W3CAttrsFor_HEADER)[]; -extern const AttrVersion TY_(W3CAttrsFor_DETAILS)[]; -extern const AttrVersion TY_(W3CAttrsFor_DIALOG)[]; -extern const AttrVersion TY_(W3CAttrsFor_COMMAND)[]; -extern const AttrVersion TY_(W3CAttrsFor_MAIN)[]; -extern const AttrVersion TY_(W3CAttrsFor_MARK)[]; -extern const AttrVersion TY_(W3CAttrsFor_OUTPUT)[]; -extern const AttrVersion TY_(W3CAttrsFor_MENUITEM)[]; -extern const AttrVersion TY_(W3CAttrsFor_METER)[]; -extern const AttrVersion TY_(W3CAttrsFor_PROGRESS)[]; -extern const AttrVersion TY_(W3CAttrsFor_SLOT)[]; -extern const AttrVersion TY_(W3CAttrsFor_TEMPLATE)[]; -extern const AttrVersion TY_(W3CAttrsFor_TIME)[]; -extern const AttrVersion TY_(W3CAttrsFor_DATA)[]; -extern const AttrVersion TY_(W3CAttrsFor_DATALIST)[]; -extern const AttrVersion TY_(W3CAttrsFor_AUDIO)[]; -extern const AttrVersion TY_(W3CAttrsFor_VIDEO)[]; -extern const AttrVersion TY_(W3CAttrsFor_CANVAS)[]; -extern const AttrVersion TY_(W3CAttrsFor_SOURCE)[]; -extern const AttrVersion TY_(W3CAttrsFor_EMBED)[]; -extern const AttrVersion TY_(W3CAttrsFor_KEYGEN)[]; -extern const AttrVersion TY_(W3CAttrsFor_WBR)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TRACK)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SUMMARY)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_FIGCAPTION)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_HGROUP)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_FIGURE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_ARTICLE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_ASIDE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_BDI)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_NAV)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SECTION)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_FOOTER)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_HEADER)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DETAILS)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DIALOG)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_COMMAND)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_MAIN)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_MARK)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_OUTPUT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_MENUITEM)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_METER)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_PROGRESS)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SLOT)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TEMPLATE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_TIME)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DATA)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_DATALIST)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_AUDIO)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_VIDEO)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_CANVAS)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_SOURCE)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_EMBED)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_KEYGEN)[]; +TY_PRIVATE extern const AttrVersion TY_(W3CAttrsFor_WBR)[]; #endif /* __ATTRDICT_H__ */ diff --git a/src/attrs.h b/src/attrs.h index 96cb98d..edfb564 100644 --- a/src/attrs.h +++ b/src/attrs.h @@ -79,39 +79,39 @@ typedef struct _TidyAttribImpl TidyAttribImpl; #define XHTML_NAMESPACE "http://www.w3.org/1999/xhtml" -AttrCheck TY_(CheckUrl); +TY_PRIVATE AttrCheck TY_(CheckUrl); /* public method for finding attribute definition by name */ -const Attribute* TY_(CheckAttribute)( TidyDocImpl* doc, Node *node, AttVal *attval ); +TY_PRIVATE const Attribute* TY_(CheckAttribute)( TidyDocImpl* doc, Node *node, AttVal *attval ); -const Attribute* TY_(FindAttribute)( TidyDocImpl* doc, AttVal *attval ); +TY_PRIVATE const Attribute* TY_(FindAttribute)( TidyDocImpl* doc, AttVal *attval ); -AttVal* TY_(GetAttrByName)( Node *node, ctmbstr name ); +TY_PRIVATE AttVal* TY_(GetAttrByName)( Node *node, ctmbstr name ); -void TY_(DropAttrByName)( TidyDocImpl* doc, Node *node, ctmbstr name ); +TY_PRIVATE void TY_(DropAttrByName)( TidyDocImpl* doc, Node *node, ctmbstr name ); -AttVal* TY_(AddAttribute)( TidyDocImpl* doc, +TY_PRIVATE AttVal* TY_(AddAttribute)( TidyDocImpl* doc, Node *node, ctmbstr name, ctmbstr value ); -AttVal* TY_(RepairAttrValue)(TidyDocImpl* doc, Node* node, ctmbstr name, ctmbstr value); +TY_PRIVATE AttVal* TY_(RepairAttrValue)(TidyDocImpl* doc, Node* node, ctmbstr name, ctmbstr value); /* Add an item to the list of priority attributes to write first. */ -void TY_(DefinePriorityAttribute)(TidyDocImpl* doc, ctmbstr name); +TY_PRIVATE void TY_(DefinePriorityAttribute)(TidyDocImpl* doc, ctmbstr name); /* Start an iterator for priority attributes. */ -TidyIterator TY_(getPriorityAttrList)( TidyDocImpl* doc ); +TY_PRIVATE TidyIterator TY_(getPriorityAttrList)( TidyDocImpl* doc ); /* Get the next priority attribute. */ -ctmbstr TY_(getNextPriorityAttr)( TidyDocImpl* doc, TidyIterator* iter ); +TY_PRIVATE ctmbstr TY_(getNextPriorityAttr)( TidyDocImpl* doc, TidyIterator* iter ); -Bool TY_(IsUrl)( TidyDocImpl* doc, ctmbstr attrname ); +TY_PRIVATE Bool TY_(IsUrl)( TidyDocImpl* doc, ctmbstr attrname ); /* Bool IsBool( TidyDocImpl* doc, ctmbstr attrname ); */ -Bool TY_(IsScript)( TidyDocImpl* doc, ctmbstr attrname ); +TY_PRIVATE Bool TY_(IsScript)( TidyDocImpl* doc, ctmbstr attrname ); /* may id or name serve as anchor? */ -Bool TY_(IsAnchorElement)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE Bool TY_(IsAnchorElement)( TidyDocImpl* doc, Node* node ); /* In CSS1, selectors can contain only the characters A-Z, 0-9, and @@ -127,41 +127,41 @@ Bool TY_(IsAnchorElement)( TidyDocImpl* doc, Node* node ); #508936 - CSS class naming for -clean option */ -Bool TY_(IsCSS1Selector)( ctmbstr buf ); +TY_PRIVATE Bool TY_(IsCSS1Selector)( ctmbstr buf ); -Bool TY_(IsValidHTMLID)(ctmbstr id); -Bool TY_(IsValidXMLID)(ctmbstr id); +TY_PRIVATE Bool TY_(IsValidHTMLID)(ctmbstr id); +TY_PRIVATE Bool TY_(IsValidXMLID)(ctmbstr id); /* removes anchor for specific node */ -void TY_(RemoveAnchorByNode)( TidyDocImpl* doc, ctmbstr name, Node *node ); +TY_PRIVATE void TY_(RemoveAnchorByNode)( TidyDocImpl* doc, ctmbstr name, Node *node ); /* free all anchors */ -void TY_(FreeAnchors)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(FreeAnchors)( TidyDocImpl* doc ); /* public methods for inititializing/freeing attribute dictionary */ -void TY_(InitAttrs)( TidyDocImpl* doc ); -void TY_(FreeAttrTable)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(InitAttrs)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(FreeAttrTable)( TidyDocImpl* doc ); -void TY_(FreeAttrPriorityList)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(FreeAttrPriorityList)( TidyDocImpl* doc ); -void TY_(AppendToClassAttr)( TidyDocImpl* doc, AttVal *classattr, ctmbstr classname ); +TY_PRIVATE void TY_(AppendToClassAttr)( TidyDocImpl* doc, AttVal *classattr, ctmbstr classname ); /* the same attribute name can't be used more than once in each element */ -void TY_(RepairDuplicateAttributes)( TidyDocImpl* doc, Node* node, Bool isXml ); -void TY_(SortAttributes)(TidyDocImpl* doc, Node* node, TidyAttrSortStrategy strat); +TY_PRIVATE void TY_(RepairDuplicateAttributes)( TidyDocImpl* doc, Node* node, Bool isXml ); +TY_PRIVATE void TY_(SortAttributes)(TidyDocImpl* doc, Node* node, TidyAttrSortStrategy strat); -Bool TY_(IsBoolAttribute)( AttVal* attval ); -Bool TY_(attrIsEvent)( AttVal* attval ); +TY_PRIVATE Bool TY_(IsBoolAttribute)( AttVal* attval ); +TY_PRIVATE Bool TY_(attrIsEvent)( AttVal* attval ); -AttVal* TY_(AttrGetById)( Node* node, TidyAttrId id ); +TY_PRIVATE AttVal* TY_(AttrGetById)( Node* node, TidyAttrId id ); -uint TY_(NodeAttributeVersions)( Node* node, TidyAttrId id ); +TY_PRIVATE uint TY_(NodeAttributeVersions)( Node* node, TidyAttrId id ); -Bool TY_(AttributeIsProprietary)(Node* node, AttVal* attval); -Bool TY_(AttributeIsMismatched)(Node* node, AttVal* attval, TidyDocImpl* doc); +TY_PRIVATE Bool TY_(AttributeIsProprietary)(Node* node, AttVal* attval); +TY_PRIVATE Bool TY_(AttributeIsMismatched)(Node* node, AttVal* attval, TidyDocImpl* doc); /* 0 == TidyAttr_UNKNOWN */ diff --git a/src/charsets.h b/src/charsets.h index 8931ada..dfd2693 100644 --- a/src/charsets.h +++ b/src/charsets.h @@ -1,13 +1,19 @@ +#ifndef __CHARSETS_H__ +#define __CHARSETS_H__ + /* charsets.h -- character set information and mappings - (c) 1998-2006 (W3C) MIT, ERCIM, Keio University + (c) 1998-2021 (W3C) MIT, ERCIM, Keio University See tidy.h for the copyright notice. */ -uint TY_(GetEncodingIdFromName)(ctmbstr name); -uint TY_(GetEncodingIdFromCodePage)(uint cp); -uint TY_(GetEncodingCodePageFromName)(ctmbstr name); -uint TY_(GetEncodingCodePageFromId)(uint id); -ctmbstr TY_(GetEncodingNameFromId)(uint id); -ctmbstr TY_(GetEncodingNameFromCodePage)(uint cp); +TY_PRIVATE uint TY_(GetEncodingIdFromName)(ctmbstr name); +TY_PRIVATE uint TY_(GetEncodingIdFromCodePage)(uint cp); +TY_PRIVATE uint TY_(GetEncodingCodePageFromName)(ctmbstr name); +TY_PRIVATE uint TY_(GetEncodingCodePageFromId)(uint id); +TY_PRIVATE ctmbstr TY_(GetEncodingNameFromId)(uint id); +TY_PRIVATE ctmbstr TY_(GetEncodingNameFromCodePage)(uint cp); + +#endif /* __CHARSETS_H__ */ + diff --git a/src/clean.h b/src/clean.h index c765e81..d9bddbe 100644 --- a/src/clean.h +++ b/src/clean.h @@ -8,22 +8,22 @@ */ -void TY_(FixNodeLinks)(Node *node); +TY_PRIVATE void TY_(FixNodeLinks)(Node *node); -void TY_(FreeStyles)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(FreeStyles)( TidyDocImpl* doc ); /* Add class="foo" to node */ -void TY_(AddStyleAsClass)( TidyDocImpl* doc, Node *node, ctmbstr stylevalue ); -void TY_(AddStyleProperty)(TidyDocImpl* doc, Node *node, ctmbstr property ); +TY_PRIVATE void TY_(AddStyleAsClass)( TidyDocImpl* doc, Node *node, ctmbstr stylevalue ); +TY_PRIVATE void TY_(AddStyleProperty)(TidyDocImpl* doc, Node *node, ctmbstr property ); -void TY_(CleanDocument)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(CleanDocument)( TidyDocImpl* doc ); /* simplifies <b><b> ... </b> ...</b> etc. */ -void TY_(NestedEmphasis)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE void TY_(NestedEmphasis)( TidyDocImpl* doc, Node* node ); /* replace i by em and b by strong */ -void TY_(EmFromI)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE void TY_(EmFromI)( TidyDocImpl* doc, Node* node ); /* Some people use dir or ul without an li @@ -32,17 +32,17 @@ void TY_(EmFromI)( TidyDocImpl* doc, Node* node ); li. This is recursively replaced by an implicit blockquote. */ -void TY_(List2BQ)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE void TY_(List2BQ)( TidyDocImpl* doc, Node* node ); /* Replace implicit blockquote by div with an indent taking care to reduce nested blockquotes to a single div with the indent set to match the nesting depth */ -void TY_(BQ2Div)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE void TY_(BQ2Div)( TidyDocImpl* doc, Node* node ); -void TY_(DropSections)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE void TY_(DropSections)( TidyDocImpl* doc, Node* node ); /* @@ -52,31 +52,30 @@ void TY_(DropSections)( TidyDocImpl* doc, Node* node ); declare them as new tags, such as o:p which needs to be declared as inline. */ -void TY_(CleanWord2000)( TidyDocImpl* doc, Node *node); +TY_PRIVATE void TY_(CleanWord2000)( TidyDocImpl* doc, Node *node); -Bool TY_(IsWord2000)( TidyDocImpl* doc ); +TY_PRIVATE Bool TY_(IsWord2000)( TidyDocImpl* doc ); /* where appropriate move object elements from head to body */ -void TY_(BumpObject)( TidyDocImpl* doc, Node *html ); +TY_PRIVATE void TY_(BumpObject)( TidyDocImpl* doc, Node *html ); -Bool TY_(TidyMetaCharset)(TidyDocImpl* doc); +TY_PRIVATE Bool TY_(TidyMetaCharset)(TidyDocImpl* doc); -void TY_(DropComments)(TidyDocImpl* doc, Node* node); -void TY_(DropFontElements)(TidyDocImpl* doc, Node* node, Node **pnode); -void TY_(WbrToSpace)(TidyDocImpl* doc, Node* node); -void TY_(DowngradeTypography)(TidyDocImpl* doc, Node* node); -void TY_(ReplacePreformattedSpaces)(TidyDocImpl* doc, Node* node); -void TY_(NormalizeSpaces)(Lexer *lexer, Node *node); -void TY_(ConvertCDATANodes)(TidyDocImpl* doc, Node* node); +TY_PRIVATE void TY_(DropComments)(TidyDocImpl* doc, Node* node); +TY_PRIVATE void TY_(DropFontElements)(TidyDocImpl* doc, Node* node, Node **pnode); +TY_PRIVATE void TY_(WbrToSpace)(TidyDocImpl* doc, Node* node); +TY_PRIVATE void TY_(DowngradeTypography)(TidyDocImpl* doc, Node* node); +TY_PRIVATE void TY_(ReplacePreformattedSpaces)(TidyDocImpl* doc, Node* node); +TY_PRIVATE void TY_(NormalizeSpaces)(Lexer *lexer, Node *node); +TY_PRIVATE void TY_(ConvertCDATANodes)(TidyDocImpl* doc, Node* node); -void TY_(FixAnchors)(TidyDocImpl* doc, Node *node, Bool wantName, Bool wantId); -void TY_(FixXhtmlNamespace)(TidyDocImpl* doc, Bool wantXmlns); -void TY_(FixLanguageInformation)(TidyDocImpl* doc, Node* node, Bool wantXmlLang, Bool wantLang); +TY_PRIVATE void TY_(FixAnchors)(TidyDocImpl* doc, Node *node, Bool wantName, Bool wantId); +TY_PRIVATE void TY_(FixXhtmlNamespace)(TidyDocImpl* doc, Bool wantXmlns); +TY_PRIVATE void TY_(FixLanguageInformation)(TidyDocImpl* doc, Node* node, Bool wantXmlLang, Bool wantLang); /* Issue #567 - move style elements from body to head */ -void TY_(CleanStyle)(TidyDocImpl* doc, Node *html); +TY_PRIVATE void TY_(CleanStyle)(TidyDocImpl* doc, Node *html); /* Issue #692 - discard multiple titles */ -void TY_(CleanHead)(TidyDocImpl* doc); - +TY_PRIVATE void TY_(CleanHead)(TidyDocImpl* doc); #endif /* __CLEAN_H__ */ diff --git a/src/config.h b/src/config.h index a86b5c5..30fdaa0 100644 --- a/src/config.h +++ b/src/config.h @@ -140,26 +140,26 @@ typedef struct { ** @param optnam The option name to retrieve. ** @returns The instance of the requested option. */ -const TidyOptionImpl* TY_(lookupOption)( ctmbstr optnam ); +TY_PRIVATE const TidyOptionImpl* TY_(lookupOption)( ctmbstr optnam ); /** Given an option ID, return an instance of an option. ** @param optId The option ID to retrieve. ** @returns The instance of the requested option. */ -const TidyOptionImpl* TY_(getOption)( TidyOptionId optId ); +TY_PRIVATE const TidyOptionImpl* TY_(getOption)( TidyOptionId optId ); /** Given an option ID, indicates whether or not the option is a list. ** @param optId The option ID to check. ** @returns Returns yes if the option value is a list. */ -const Bool TY_(getOptionIsList)( TidyOptionId optId ); +TY_PRIVATE const Bool TY_(getOptionIsList)( TidyOptionId optId ); /** Initiates an iterator to cycle through all of the available options. ** @param doc The Tidy document to get options. ** @returns An iterator token to be used with TY_(getNextOption)(). */ -TidyIterator TY_(getOptionList)( TidyDocImpl* doc ); +TY_PRIVATE TidyIterator TY_(getOptionList)( TidyDocImpl* doc ); /** Gets the next option provided by the iterator. @@ -167,7 +167,7 @@ TidyIterator TY_(getOptionList)( TidyDocImpl* doc ); ** @param iter The iterator token initialized by TY_(getOptionList)(). ** @returns The instance of the next option. */ -const TidyOptionImpl* TY_(getNextOption)( TidyDocImpl* doc, TidyIterator* iter ); +TY_PRIVATE const TidyOptionImpl* TY_(getNextOption)( TidyDocImpl* doc, TidyIterator* iter ); /** Initiates an iterator to cycle through all of the available picklist @@ -175,7 +175,7 @@ const TidyOptionImpl* TY_(getNextOption)( TidyDocImpl* doc, TidyIterator* iter ) ** @param option An instance of an option for which to iterate a picklist. ** @returns An interator token to be used with TY_(getNextOptionPick)(). */ -TidyIterator TY_(getOptionPickList)( const TidyOptionImpl* option ); +TY_PRIVATE TidyIterator TY_(getOptionPickList)( const TidyOptionImpl* option ); /** Gets the next picklist possibility provided by the iterator. @@ -183,7 +183,7 @@ TidyIterator TY_(getOptionPickList)( const TidyOptionImpl* option ); ** @param iter The iterator token initialized by TY_(getOptionPickList)(). ** @returns The next picklist entry. */ -ctmbstr TY_(getNextOptionPick)( const TidyOptionImpl* option, TidyIterator* iter ); +TY_PRIVATE ctmbstr TY_(getNextOptionPick)( const TidyOptionImpl* option, TidyIterator* iter ); #if SUPPORT_CONSOLE_APP @@ -192,20 +192,20 @@ ctmbstr TY_(getNextOptionPick)( const TidyOptionImpl* option, TidyIterator* iter ** @param optId The option ID to get cross-reference information for. ** @returns Cross reference information. */ -const TidyOptionDoc* TY_(OptGetDocDesc)( TidyOptionId optId ); +TY_PRIVATE const TidyOptionDoc* TY_(OptGetDocDesc)( TidyOptionId optId ); #endif /* SUPPORT_CONSOLE_APP */ /** Initialize the configuration for the given Tidy document. ** @param doc The Tidy document. */ -void TY_(InitConfig)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(InitConfig)( TidyDocImpl* doc ); /** Frees the configuration memory for the given Tidy document. ** @param doc The Tidy document. */ -void TY_(FreeConfig)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(FreeConfig)( TidyDocImpl* doc ); /** Gets the picklist label for a given value. @@ -213,7 +213,7 @@ void TY_(FreeConfig)( TidyDocImpl* doc ); ** @param pick the picklist item to retrieve. ** @returns The label for the pick. */ -ctmbstr TY_(GetPickListLabelForPick)( TidyOptionId optId, uint pick ); +TY_PRIVATE ctmbstr TY_(GetPickListLabelForPick)( TidyOptionId optId, uint pick ); /** Sets the integer value for the given option Id. @@ -222,7 +222,7 @@ ctmbstr TY_(GetPickListLabelForPick)( TidyOptionId optId, uint pick ); ** @param val The value to set. ** @returns Success or failure. */ -Bool TY_(SetOptionInt)( TidyDocImpl* doc, TidyOptionId optId, ulong val ); +TY_PRIVATE Bool TY_(SetOptionInt)( TidyDocImpl* doc, TidyOptionId optId, ulong val ); /** Sets the bool value for the given option Id. @@ -231,7 +231,7 @@ Bool TY_(SetOptionInt)( TidyDocImpl* doc, TidyOptionId optId, ulong val ); ** @param val The value to set. ** @returns Success or failure. */ -Bool TY_(SetOptionBool)( TidyDocImpl* doc, TidyOptionId optId, Bool val ); +TY_PRIVATE Bool TY_(SetOptionBool)( TidyDocImpl* doc, TidyOptionId optId, Bool val ); /** Resets the given option to its default value. @@ -239,33 +239,33 @@ Bool TY_(SetOptionBool)( TidyDocImpl* doc, TidyOptionId optId, Bool val ); ** @param optId The option ID to set. ** @returns Success or failure. */ -Bool TY_(ResetOptionToDefault)( TidyDocImpl* doc, TidyOptionId optId ); +TY_PRIVATE Bool TY_(ResetOptionToDefault)( TidyDocImpl* doc, TidyOptionId optId ); /** Resets all options in the document to their default values. ** @param doc The Tidy document. */ -void TY_(ResetConfigToDefault)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(ResetConfigToDefault)( TidyDocImpl* doc ); /** Stores a snapshot of all of the configuration values that can be ** restored later. ** @param doc The Tidy document. */ -void TY_(TakeConfigSnapshot)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(TakeConfigSnapshot)( TidyDocImpl* doc ); /** Restores all of the configuration values to their snapshotted values. ** @param doc The Tidy document. */ -void TY_(ResetConfigToSnapshot)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(ResetConfigToSnapshot)( TidyDocImpl* doc ); /** Copies the configuration from one document to another. ** @param docTo The destination Tidy document. ** @param docFrom The source Tidy document. */ -void TY_(CopyConfig)( TidyDocImpl* docTo, TidyDocImpl* docFrom ); +TY_PRIVATE void TY_(CopyConfig)( TidyDocImpl* docTo, TidyDocImpl* docFrom ); /** Attempts to parse the given config file into the document. @@ -273,7 +273,7 @@ void TY_(CopyConfig)( TidyDocImpl* docTo, TidyDocImpl* docFrom ); ** @param cfgfil The file to load. ** @returns a file system error code. */ -int TY_(ParseConfigFile)( TidyDocImpl* doc, ctmbstr cfgfil ); +TY_PRIVATE int TY_(ParseConfigFile)( TidyDocImpl* doc, ctmbstr cfgfil ); /** Attempts to parse the given config file into the document, using @@ -283,7 +283,7 @@ int TY_(ParseConfigFile)( TidyDocImpl* doc, ctmbstr cfgfil ); ** @param charenc The name of the encoding to use for reading the file. ** @returns a file system error code. */ -int TY_(ParseConfigFileEnc)( TidyDocImpl* doc, +TY_PRIVATE int TY_(ParseConfigFileEnc)( TidyDocImpl* doc, ctmbstr cfgfil, ctmbstr charenc ); @@ -293,7 +293,7 @@ int TY_(ParseConfigFileEnc)( TidyDocImpl* doc, ** @param cfgfil The file to save. ** @returns a file system error code. */ -int TY_(SaveConfigFile)( TidyDocImpl* doc, ctmbstr cfgfil ); +TY_PRIVATE int TY_(SaveConfigFile)( TidyDocImpl* doc, ctmbstr cfgfil ); /** Writes the current configuration for options not having default values @@ -302,7 +302,7 @@ int TY_(SaveConfigFile)( TidyDocImpl* doc, ctmbstr cfgfil ); ** @param sink The sink to save into. ** @returns a file system error code. */ -int TY_(SaveConfigSink)( TidyDocImpl* doc, TidyOutputSink* sink ); +TY_PRIVATE int TY_(SaveConfigSink)( TidyDocImpl* doc, TidyOutputSink* sink ); /** Attempts to parse the provided value for the given option name. Returns @@ -313,7 +313,7 @@ int TY_(SaveConfigSink)( TidyDocImpl* doc, TidyOutputSink* sink ); ** @param optVal The string value to attempt to parse. ** @returns Success or failure. */ -Bool TY_(ParseConfigOption)( TidyDocImpl* doc, ctmbstr optnam, ctmbstr optVal ); +TY_PRIVATE Bool TY_(ParseConfigOption)( TidyDocImpl* doc, ctmbstr optnam, ctmbstr optVal ); /** Attempts to parse the provided value for the given option id. Returns @@ -324,7 +324,7 @@ Bool TY_(ParseConfigOption)( TidyDocImpl* doc, ctmbstr optnam, ctmbstr optVal ) ** @param optVal The string value to attempt to parse. ** @returns Success or failure. */ -Bool TY_(ParseConfigValue)( TidyDocImpl* doc, TidyOptionId optId, ctmbstr optVal ); +TY_PRIVATE Bool TY_(ParseConfigValue)( TidyDocImpl* doc, TidyOptionId optId, ctmbstr optVal ); /** Ensure that char encodings are self consistent. @@ -332,7 +332,7 @@ Bool TY_(ParseConfigValue)( TidyDocImpl* doc, TidyOptionId optId, ctmbstr optVa ** @param encoding The encoding being applied. ** @returns A bool indicating success or failure. */ -Bool TY_(AdjustCharEncoding)( TidyDocImpl* doc, int encoding ); +TY_PRIVATE Bool TY_(AdjustCharEncoding)( TidyDocImpl* doc, int encoding ); /** Ensure that the configuration options are self consistent. @@ -353,7 +353,7 @@ void TY_(AdjustConfig)( TidyDocImpl* doc ); ** @param doc The Tidy document. ** @returns The result. */ -Bool TY_(ConfigDiffThanDefault)( TidyDocImpl* doc ); +TY_PRIVATE Bool TY_(ConfigDiffThanDefault)( TidyDocImpl* doc ); /** Indicates whether or not the current configuration is different from the @@ -361,7 +361,7 @@ Bool TY_(ConfigDiffThanDefault)( TidyDocImpl* doc ); ** @param doc The Tidy document. ** @returns The result. */ -Bool TY_(ConfigDiffThanSnapshot)( TidyDocImpl* doc ); +TY_PRIVATE Bool TY_(ConfigDiffThanSnapshot)( TidyDocImpl* doc ); /** Returns the character encoding ID for the given character encoding @@ -370,21 +370,21 @@ Bool TY_(ConfigDiffThanSnapshot)( TidyDocImpl* doc ); ** @param charenc The name of the character encoding. ** @returns The Id of the character encoding. */ -int TY_(CharEncodingId)( TidyDocImpl* doc, ctmbstr charenc ); +TY_PRIVATE int TY_(CharEncodingId)( TidyDocImpl* doc, ctmbstr charenc ); /** Returns the full name of the encoding for the given ID. ** @param encoding The Id of the encoding. ** @returns The name of the character encoding. */ -ctmbstr TY_(CharEncodingName)( int encoding ); +TY_PRIVATE ctmbstr TY_(CharEncodingName)( int encoding ); /** Returns the Tidy command line option name of the encoding for the given ID. ** @param encoding The Id of the encoding. ** @returns The Tidy command line option representing the encoding. */ -ctmbstr TY_(CharEncodingOptName)( int encoding ); +TY_PRIVATE ctmbstr TY_(CharEncodingOptName)( int encoding ); /** Coordinates Config update and list data. @@ -392,15 +392,15 @@ ctmbstr TY_(CharEncodingOptName)( int encoding ); ** @param opt The option the list item is intended for. ** @param name The name of the new list item. */ -void TY_(DeclareListItem)( TidyDocImpl* doc, const TidyOptionImpl* opt, ctmbstr name ); +TY_PRIVATE void TY_(DeclareListItem)( TidyDocImpl* doc, const TidyOptionImpl* opt, ctmbstr name ); #ifdef _DEBUG /* Debug lookup functions will be type-safe and assert option type match */ -ulong TY_(_cfgGet)( TidyDocImpl* doc, TidyOptionId optId ); -Bool TY_(_cfgGetBool)( TidyDocImpl* doc, TidyOptionId optId ); -TidyTriState TY_(_cfgGetAutoBool)( TidyDocImpl* doc, TidyOptionId optId ); -ctmbstr TY_(_cfgGetString)( TidyDocImpl* doc, TidyOptionId optId ); +TY_PRIVATE ulong TY_(_cfgGet)( TidyDocImpl* doc, TidyOptionId optId ); +TY_PRIVATE Bool TY_(_cfgGetBool)( TidyDocImpl* doc, TidyOptionId optId ); +TY_PRIVATE TidyTriState TY_(_cfgGetAutoBool)( TidyDocImpl* doc, TidyOptionId optId ); +TY_PRIVATE ctmbstr TY_(_cfgGetString)( TidyDocImpl* doc, TidyOptionId optId ); #define cfg(doc, id) TY_(_cfgGet)( (doc), (id) ) #define cfgBool(doc, id) TY_(_cfgGetBool)( (doc), (id) ) diff --git a/src/entities.h b/src/entities.h index 95533e4..0702e06 100644 --- a/src/entities.h +++ b/src/entities.h @@ -12,7 +12,7 @@ /* entity starting with "&" returns zero on error */ /* uint EntityCode( ctmbstr name, uint versions ); */ -ctmbstr TY_(EntityName)( uint charCode, uint versions ); -Bool TY_(EntityInfo)( ctmbstr name, Bool isXml, uint* code, uint* versions ); +TY_PRIVATE ctmbstr TY_(EntityName)( uint charCode, uint versions ); +TY_PRIVATE Bool TY_(EntityInfo)( ctmbstr name, Bool isXml, uint* code, uint* versions ); #endif /* __ENTITIES_H__ */ diff --git a/src/fileio.h b/src/fileio.h index a0e0df9..b644af1 100644 --- a/src/fileio.h +++ b/src/fileio.h @@ -17,24 +17,24 @@ extern "C" { #endif /** Allocate and initialize file input source */ -int TY_(initFileSource)( TidyAllocator *allocator, TidyInputSource* source, FILE* fp ); +TY_PRIVATE int TY_(initFileSource)( TidyAllocator *allocator, TidyInputSource* source, FILE* fp ); /** Free file input source */ -void TY_(freeFileSource)( TidyInputSource* source, Bool closeIt ); +TY_PRIVATE void TY_(freeFileSource)( TidyInputSource* source, Bool closeIt ); #if SUPPORT_POSIX_MAPPED_FILES /** Allocate and initialize file input source using Standard C I/O */ -int TY_(initStdIOFileSource)( TidyAllocator *allocator, TidyInputSource* source, FILE* fp ); +TY_PRIVATE int TY_(initStdIOFileSource)( TidyAllocator *allocator, TidyInputSource* source, FILE* fp ); /** Free file input source using Standard C I/O */ -void TY_(freeStdIOFileSource)( TidyInputSource* source, Bool closeIt ); +TY_PRIVATE void TY_(freeStdIOFileSource)( TidyInputSource* source, Bool closeIt ); #endif /** Initialize file output sink */ -void TY_(initFileSink)( TidyOutputSink* sink, FILE* fp ); +TY_PRIVATE void TY_(initFileSink)( TidyOutputSink* sink, FILE* fp ); /* Needed for internal declarations */ -void TIDY_CALL TY_(filesink_putByte)( void* sinkData, byte bv ); +TY_PRIVATE void TIDY_CALL TY_(filesink_putByte)( void* sinkData, byte bv ); #ifdef __cplusplus } diff --git a/src/forward.h b/src/forward.h index 7f59371..55ffaab 100644 --- a/src/forward.h +++ b/src/forward.h @@ -22,6 +22,13 @@ #define TYDYAPPEND(str1,str2) str1##str2 #define TY_(str) TYDYAPPEND(prvTidy,str) +/* Internal symbols are prefixed with 'hidden' attr, to avoid exporting */ +#ifdef _WIN32 +#define TY_PRIVATE +#else +#define TY_PRIVATE __attribute__((__visibility__("hidden"))) +#endif + struct _StreamIn; typedef struct _StreamIn StreamIn; @@ -53,7 +60,7 @@ typedef struct _IStack IStack; struct _Lexer; typedef struct _Lexer Lexer; -extern TidyAllocator TY_(g_default_allocator); +TY_PRIVATE extern TidyAllocator TY_(g_default_allocator); /** Wrappers for easy memory allocation using an allocator */ #define TidyAlloc(allocator, size) ((allocator)->vtbl->alloc((allocator), (size))) diff --git a/src/gdoc.h b/src/gdoc.h index b8bd9f5..ce46d9d 100644 --- a/src/gdoc.h +++ b/src/gdoc.h @@ -14,6 +14,6 @@ */ -void TY_(CleanGoogleDocument)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(CleanGoogleDocument)( TidyDocImpl* doc ); #endif /* __GDOC_H__ */ diff --git a/src/language.c b/src/language.c index 3381759..d52d015 100644 --- a/src/language.c +++ b/src/language.c @@ -306,7 +306,7 @@ ctmbstr TY_(tidyLocalizedString)( uint messageType ) * return it if there's no other match. * @note this routine uses default allocator, see tidySetMallocCall. */ -tmbstr TY_(tidyNormalizedLocaleName)( ctmbstr locale ) +static tmbstr TY_(tidyNormalizedLocaleName)( ctmbstr locale ) { uint i; uint len; @@ -363,7 +363,7 @@ tmbstr TY_(tidyNormalizedLocaleName)( ctmbstr locale ) * Returns the languageDefinition if the languageCode is installed in Tidy, * otherwise return NULL */ -languageDefinition *TY_(tidyTestLanguage)( ctmbstr languageCode ) +static languageDefinition *TY_(tidyTestLanguage)( ctmbstr languageCode ) { uint i; languageDefinition *testLang; @@ -395,7 +395,7 @@ languageDefinition *TY_(tidyTestLanguage)( ctmbstr languageCode ) * true. However the opposite is not true; if es is requested but * not present, Tidy will not try to select from the es_XX variants. */ -Bool TY_(tidySetLanguage)( ctmbstr languageCode ) +TY_PRIVATE Bool TY_(tidySetLanguage)( ctmbstr languageCode ) { languageDefinition *dict1 = NULL; languageDefinition *dict2 = NULL; @@ -448,7 +448,7 @@ Bool TY_(tidySetLanguage)( ctmbstr languageCode ) /** * Gets the current language used by Tidy. */ -ctmbstr TY_(tidyGetLanguage)() +TY_PRIVATE ctmbstr TY_(tidyGetLanguage)() { languageDefinition *langDef = tidyLanguages.currentLanguage; languageDictionary *langDict = &langDef->messages; @@ -460,7 +460,7 @@ ctmbstr TY_(tidyGetLanguage)() * Indicates whether or not the current language was set by a * LibTidy user (yes) or internally by the library (no). */ -Bool TY_(tidyGetLanguageSetByUser)() +TY_PRIVATE Bool TY_(tidyGetLanguageSetByUser)() { return tidyLanguages.manually_set; } @@ -470,7 +470,7 @@ Bool TY_(tidyGetLanguageSetByUser)() * Specifies to LibTidy that the user (rather than the library) * selected the current language. */ -void TY_(tidySetLanguageSetByUser)( void ) +TY_PRIVATE void TY_(tidySetLanguageSetByUser)( void ) { tidyLanguages.manually_set = yes; } @@ -480,7 +480,7 @@ void TY_(tidySetLanguageSetByUser)( void ) * Provides a string given `messageType` in the default * localization (which is `en`), for single plural form. */ -ctmbstr TY_(tidyDefaultString)( uint messageType ) +TY_PRIVATE ctmbstr TY_(tidyDefaultString)( uint messageType ) { return tidyLocalizedStringImpl( messageType, &language_en, 1); } @@ -511,7 +511,7 @@ static const uint tidyStringKeyListSize() * these are provided for documentation generation purposes * and probably aren't useful for LibTidy implementors. */ -TidyIterator TY_(getStringKeyList)() +TY_PRIVATE TidyIterator TY_(getStringKeyList)() { return (TidyIterator)(size_t)1; } @@ -522,7 +522,7 @@ TidyIterator TY_(getStringKeyList)() * generation purposes and probably aren't useful to * libtidy implementors. */ -uint TY_(getNextStringKey)( TidyIterator* iter ) +TY_PRIVATE uint TY_(getNextStringKey)( TidyIterator* iter ) { uint item = 0; size_t itemIndex; @@ -564,7 +564,7 @@ static const uint tidyLanguageListSize() * in Tidy's structure of Windows<->POSIX local mapping. * Items can be retrieved with getNextWindowsLanguage(); */ -TidyIterator TY_(getWindowsLanguageList)() +TY_PRIVATE TidyIterator TY_(getWindowsLanguageList)() { return (TidyIterator)(size_t)1; } @@ -573,7 +573,7 @@ TidyIterator TY_(getWindowsLanguageList)() * Returns the next record of type `localeMapItem` in * Tidy's structure of Windows<->POSIX local mapping. */ -const tidyLocaleMapItemImpl *TY_(getNextWindowsLanguage)( TidyIterator *iter ) +TY_PRIVATE const tidyLocaleMapItemImpl *TY_(getNextWindowsLanguage)( TidyIterator *iter ) { const tidyLocaleMapItemImpl *item = NULL; size_t itemIndex; @@ -595,7 +595,7 @@ const tidyLocaleMapItemImpl *TY_(getNextWindowsLanguage)( TidyIterator *iter ) /** * Given a `tidyLocaleMapItemImpl, return the Windows name. */ -ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item ) +TY_PRIVATE ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item ) { return item->winName; } @@ -604,7 +604,7 @@ ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item ) /** * Given a `tidyLocaleMapItemImpl, return the POSIX name. */ -ctmbstr TY_(TidyLangPosixName)( const tidyLocaleMapItemImpl *item ) +TY_PRIVATE ctmbstr TY_(TidyLangPosixName)( const tidyLocaleMapItemImpl *item ) { return item->POSIXName; } @@ -632,7 +632,7 @@ static const uint tidyInstalledLanguageListSize() * in Tidy's list of installed language codes. * Items can be retrieved with getNextInstalledLanguage(); */ -TidyIterator TY_(getInstalledLanguageList)() +TY_PRIVATE TidyIterator TY_(getInstalledLanguageList)() { return (TidyIterator)(size_t)1; } @@ -640,7 +640,7 @@ TidyIterator TY_(getInstalledLanguageList)() /** * Returns the next installed language. */ -ctmbstr TY_(getNextInstalledLanguage)( TidyIterator* iter ) +TY_PRIVATE ctmbstr TY_(getNextInstalledLanguage)( TidyIterator* iter ) { ctmbstr item = NULL; size_t itemIndex; @@ -657,3 +657,8 @@ ctmbstr TY_(getNextInstalledLanguage)( TidyIterator* iter ) *iter = (TidyIterator)( itemIndex <= tidyInstalledLanguageListSize() ? itemIndex : (size_t)0 ); return item; } + +/* + * end: + */ + diff --git a/src/language.h b/src/language.h index e05313e..05f2829 100644 --- a/src/language.h +++ b/src/language.h @@ -95,7 +95,7 @@ typedef struct tidyLocaleMapItemImpl { ** Returns NULL on failure. ** @return The same buffer for convenience. */ -tmbstr TY_(tidySystemLocale)(tmbstr result); +TY_PRIVATE tmbstr TY_(tidySystemLocale)(tmbstr result); /** * Tells Tidy to use a different language for output. @@ -108,12 +108,12 @@ tmbstr TY_(tidySystemLocale)(tmbstr result); * true. However the opposite is not true; if es is requested but * not present, Tidy will not try to select from the es_XX variants. */ -Bool TY_(tidySetLanguage)( ctmbstr languageCode ); +TY_PRIVATE Bool TY_(tidySetLanguage)( ctmbstr languageCode ); /** * Gets the current language used by Tidy. */ -ctmbstr TY_(tidyGetLanguage)(void); +TY_PRIVATE ctmbstr TY_(tidyGetLanguage)(void); /** @@ -124,7 +124,7 @@ ctmbstr TY_(tidyGetLanguage)(void); * @returns Returns yes to indicate that the current language was * specified by an API user. */ -Bool TY_(tidyGetLanguageSetByUser)(void); +TY_PRIVATE Bool TY_(tidyGetLanguageSetByUser)(void); /** @@ -132,20 +132,20 @@ Bool TY_(tidyGetLanguageSetByUser)(void); * selected the current language. This flag prevents subsequently * created instances of TidyDocument from changing the user's language. */ -void TY_(tidySetLanguageSetByUser)( void ); +TY_PRIVATE void TY_(tidySetLanguageSetByUser)( void ); /** * Provides a string given `messageType` in the current * localization for `quantity`. */ -ctmbstr TY_(tidyLocalizedStringN)( uint messageType, uint quantity ); +TY_PRIVATE ctmbstr TY_(tidyLocalizedStringN)( uint messageType, uint quantity ); /** * Provides a string given `messageType` in the current * localization for the single case. */ -ctmbstr TY_(tidyLocalizedString)( uint messageType ); +TY_PRIVATE ctmbstr TY_(tidyLocalizedString)( uint messageType ); /** @} */ @@ -157,7 +157,7 @@ ctmbstr TY_(tidyLocalizedString)( uint messageType ); * Provides a string given `messageType` in the default * localization (which is `en`). */ -ctmbstr TY_(tidyDefaultString)( uint messageType ); +TY_PRIVATE ctmbstr TY_(tidyDefaultString)( uint messageType ); /* * Initializes the TidyIterator to point to the first item @@ -165,7 +165,7 @@ ctmbstr TY_(tidyDefaultString)( uint messageType ); * these are provided for documentation generation purposes * and probably aren't useful for LibTidy implementors. */ -TidyIterator TY_(getStringKeyList)(void); +TY_PRIVATE TidyIterator TY_(getStringKeyList)(void); /* * Provides the next key value in Tidy's list of localized @@ -173,42 +173,42 @@ TidyIterator TY_(getStringKeyList)(void); * generation purposes and probably aren't useful to * libtidy implementors. */ -uint TY_(getNextStringKey)( TidyIterator* iter ); +TY_PRIVATE uint TY_(getNextStringKey)( TidyIterator* iter ); /** * Initializes the TidyIterator to point to the first item * in Tidy's structure of Windows<->POSIX local mapping. * Items can be retrieved with getNextWindowsLanguage(); */ -TidyIterator TY_(getWindowsLanguageList)(void); +TY_PRIVATE TidyIterator TY_(getWindowsLanguageList)(void); /** * Returns the next record of type `localeMapItem` in * Tidy's structure of Windows<->POSIX local mapping. */ -const tidyLocaleMapItemImpl *TY_(getNextWindowsLanguage)( TidyIterator* iter ); +TY_PRIVATE const tidyLocaleMapItemImpl *TY_(getNextWindowsLanguage)( TidyIterator* iter ); /** * Given a `tidyLocaleMapItemImpl, return the Windows name. */ -ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item ); +TY_PRIVATE ctmbstr TY_(TidyLangWindowsName)( const tidyLocaleMapItemImpl *item ); /** * Given a `tidyLocaleMapItemImpl, return the POSIX name. */ -ctmbstr TY_(TidyLangPosixName)( const tidyLocaleMapItemImpl *item ); +TY_PRIVATE ctmbstr TY_(TidyLangPosixName)( const tidyLocaleMapItemImpl *item ); /** * Initializes the TidyIterator to point to the first item * in Tidy's list of installed language codes. * Items can be retrieved with getNextInstalledLanguage(); */ -TidyIterator TY_(getInstalledLanguageList)(void); +TY_PRIVATE TidyIterator TY_(getInstalledLanguageList)(void); /** * Returns the next installed language. */ -ctmbstr TY_(getNextInstalledLanguage)( TidyIterator* iter ); +TY_PRIVATE ctmbstr TY_(getNextInstalledLanguage)( TidyIterator* iter ); /** @} */ diff --git a/src/lexer.h b/src/lexer.h index 50fa2cd..c181d4b 100644 --- a/src/lexer.h +++ b/src/lexer.h @@ -383,32 +383,32 @@ struct _Lexer */ /* choose what version to use for new doctype */ -int TY_(HTMLVersion)( TidyDocImpl* doc ); +TY_PRIVATE int TY_(HTMLVersion)( TidyDocImpl* doc ); /* everything is allowed in proprietary version of HTML */ /* this is handled here rather than in the tag/attr dicts */ -void TY_(ConstrainVersion)( TidyDocImpl* doc, uint vers ); +TY_PRIVATE void TY_(ConstrainVersion)( TidyDocImpl* doc, uint vers ); -Bool TY_(IsWhite)(uint c); -Bool TY_(IsDigit)(uint c); -Bool TY_(IsLetter)(uint c); -Bool TY_(IsHTMLSpace)(uint c); -Bool TY_(IsNewline)(uint c); -Bool TY_(IsNamechar)(uint c); -Bool TY_(IsXMLLetter)(uint c); -Bool TY_(IsXMLNamechar)(uint c); +TY_PRIVATE Bool TY_(IsWhite)(uint c); +TY_PRIVATE Bool TY_(IsDigit)(uint c); +TY_PRIVATE Bool TY_(IsLetter)(uint c); +TY_PRIVATE Bool TY_(IsHTMLSpace)(uint c); +TY_PRIVATE Bool TY_(IsNewline)(uint c); +TY_PRIVATE Bool TY_(IsNamechar)(uint c); +TY_PRIVATE Bool TY_(IsXMLLetter)(uint c); +TY_PRIVATE Bool TY_(IsXMLNamechar)(uint c); /* Bool IsLower(uint c); */ -Bool TY_(IsUpper)(uint c); -uint TY_(ToLower)(uint c); -uint TY_(ToUpper)(uint c); +TY_PRIVATE Bool TY_(IsUpper)(uint c); +TY_PRIVATE uint TY_(ToLower)(uint c); +TY_PRIVATE uint TY_(ToUpper)(uint c); -Lexer* TY_(NewLexer)( TidyDocImpl* doc ); -void TY_(FreeLexer)( TidyDocImpl* doc ); +TY_PRIVATE Lexer* TY_(NewLexer)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(FreeLexer)( TidyDocImpl* doc ); /* store character c as UTF-8 encoded byte stream */ -void TY_(AddCharToLexer)( Lexer *lexer, uint c ); +TY_PRIVATE void TY_(AddCharToLexer)( Lexer *lexer, uint c ); /* Used for elements and text nodes @@ -423,78 +423,78 @@ void TY_(AddCharToLexer)( Lexer *lexer, uint c ); list of AttVal nodes which hold the strings for attribute/value pairs. */ -Node* TY_(NewNode)( TidyAllocator* allocator, Lexer* lexer ); +TY_PRIVATE Node* TY_(NewNode)( TidyAllocator* allocator, Lexer* lexer ); /* used to clone heading nodes when split by an <HR> */ -Node* TY_(CloneNode)( TidyDocImpl* doc, Node *element ); +TY_PRIVATE Node* TY_(CloneNode)( TidyDocImpl* doc, Node *element ); /* free node's attributes */ -void TY_(FreeAttrs)( TidyDocImpl* doc, Node *node ); +TY_PRIVATE void TY_(FreeAttrs)( TidyDocImpl* doc, Node *node ); /* doesn't repair attribute list linkage */ -void TY_(FreeAttribute)( TidyDocImpl* doc, AttVal *av ); +TY_PRIVATE void TY_(FreeAttribute)( TidyDocImpl* doc, AttVal *av ); /* detach attribute from node */ -void TY_(DetachAttribute)( Node *node, AttVal *attr ); +TY_PRIVATE void TY_(DetachAttribute)( Node *node, AttVal *attr ); /* detach attribute from node then free it */ -void TY_(RemoveAttribute)( TidyDocImpl* doc, Node *node, AttVal *attr ); +TY_PRIVATE void TY_(RemoveAttribute)( TidyDocImpl* doc, Node *node, AttVal *attr ); /* Free document nodes by iterating through peers and recursing through children. Set next to NULL before calling FreeNode() to avoid freeing peer nodes. Doesn't patch up prev/next links. */ -void TY_(FreeNode)( TidyDocImpl* doc, Node *node ); +TY_PRIVATE void TY_(FreeNode)( TidyDocImpl* doc, Node *node ); -Node* TY_(TextToken)( Lexer *lexer ); +TY_PRIVATE Node* TY_(TextToken)( Lexer *lexer ); /* used for creating preformatted text from Word2000 */ -Node* TY_(NewLineNode)( Lexer *lexer ); +TY_PRIVATE Node* TY_(NewLineNode)( Lexer *lexer ); /* used for adding a &nbsp; for Word2000 */ -Node* TY_(NewLiteralTextNode)(Lexer *lexer, ctmbstr txt ); +TY_PRIVATE Node* TY_(NewLiteralTextNode)(Lexer *lexer, ctmbstr txt ); -void TY_(AddStringLiteral)( Lexer* lexer, ctmbstr str ); -/* void AddStringLiteralLen( Lexer* lexer, ctmbstr str, int len ); */ +TY_PRIVATE void TY_(AddStringLiteral)( Lexer* lexer, ctmbstr str ); +/* TY_PRIVATE void AddStringLiteralLen( Lexer* lexer, ctmbstr str, int len ); */ /* find element */ -Node* TY_(FindDocType)( TidyDocImpl* doc ); -Node* TY_(FindHTML)( TidyDocImpl* doc ); -Node* TY_(FindHEAD)( TidyDocImpl* doc ); -Node* TY_(FindTITLE)(TidyDocImpl* doc); -Node* TY_(FindBody)( TidyDocImpl* doc ); -Node* TY_(FindXmlDecl)(TidyDocImpl* doc); +TY_PRIVATE Node* TY_(FindDocType)( TidyDocImpl* doc ); +TY_PRIVATE Node* TY_(FindHTML)( TidyDocImpl* doc ); +TY_PRIVATE Node* TY_(FindHEAD)( TidyDocImpl* doc ); +TY_PRIVATE Node* TY_(FindTITLE)(TidyDocImpl* doc); +TY_PRIVATE Node* TY_(FindBody)( TidyDocImpl* doc ); +TY_PRIVATE Node* TY_(FindXmlDecl)(TidyDocImpl* doc); /* Returns containing block element, if any */ -Node* TY_(FindContainer)( Node* node ); +TY_PRIVATE Node* TY_(FindContainer)( Node* node ); /* add meta element for Tidy */ -Bool TY_(AddGenerator)( TidyDocImpl* doc ); +TY_PRIVATE Bool TY_(AddGenerator)( TidyDocImpl* doc ); -uint TY_(ApparentVersion)( TidyDocImpl* doc ); +TY_PRIVATE uint TY_(ApparentVersion)( TidyDocImpl* doc ); -ctmbstr TY_(HTMLVersionNameFromCode)( uint vers, Bool isXhtml ); +TY_PRIVATE ctmbstr TY_(HTMLVersionNameFromCode)( uint vers, Bool isXhtml ); -uint TY_(HTMLVersionNumberFromCode)( uint vers ); +TY_PRIVATE uint TY_(HTMLVersionNumberFromCode)( uint vers ); -Bool TY_(WarnMissingSIInEmittedDocType)( TidyDocImpl* doc ); +TY_PRIVATE Bool TY_(WarnMissingSIInEmittedDocType)( TidyDocImpl* doc ); -Bool TY_(SetXHTMLDocType)( TidyDocImpl* doc ); +TY_PRIVATE Bool TY_(SetXHTMLDocType)( TidyDocImpl* doc ); /* fixup doctype if missing */ -Bool TY_(FixDocType)( TidyDocImpl* doc ); +TY_PRIVATE Bool TY_(FixDocType)( TidyDocImpl* doc ); /* ensure XML document starts with <?xml version="1.0"?> */ /* add encoding attribute if not using ASCII or UTF-8 output */ -Bool TY_(FixXmlDecl)( TidyDocImpl* doc ); +TY_PRIVATE Bool TY_(FixXmlDecl)( TidyDocImpl* doc ); -Node* TY_(InferredTag)(TidyDocImpl* doc, TidyTagId id); +TY_PRIVATE Node* TY_(InferredTag)(TidyDocImpl* doc, TidyTagId id); -void TY_(UngetToken)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(UngetToken)( TidyDocImpl* doc ); /* @@ -514,23 +514,23 @@ typedef enum CdataContent } GetTokenMode; -Node* TY_(GetToken)( TidyDocImpl* doc, GetTokenMode mode ); +TY_PRIVATE Node* TY_(GetToken)( TidyDocImpl* doc, GetTokenMode mode ); -void TY_(InitMap)(void); +TY_PRIVATE void TY_(InitMap)(void); /* create a new attribute */ -AttVal* TY_(NewAttribute)( TidyDocImpl* doc ); +TY_PRIVATE AttVal* TY_(NewAttribute)( TidyDocImpl* doc ); /* create a new attribute with given name and value */ -AttVal* TY_(NewAttributeEx)( TidyDocImpl* doc, ctmbstr name, ctmbstr value, +TY_PRIVATE AttVal* TY_(NewAttributeEx)( TidyDocImpl* doc, ctmbstr name, ctmbstr value, int delim ); /* insert attribute at the end of attribute list of a node */ -void TY_(InsertAttributeAtEnd)( Node *node, AttVal *av ); +TY_PRIVATE void TY_(InsertAttributeAtEnd)( Node *node, AttVal *av ); /* insert attribute at the start of attribute list of a node */ -void TY_(InsertAttributeAtStart)( Node *node, AttVal *av ); +TY_PRIVATE void TY_(InsertAttributeAtStart)( Node *node, AttVal *av ); /************************************* In-line Stack functions @@ -538,7 +538,7 @@ void TY_(InsertAttributeAtStart)( Node *node, AttVal *av ); /* duplicate attributes */ -AttVal* TY_(DupAttrs)( TidyDocImpl* doc, AttVal* attrs ); +TY_PRIVATE AttVal* TY_(DupAttrs)( TidyDocImpl* doc, AttVal* attrs ); /* push a copy of an inline node onto stack @@ -556,13 +556,13 @@ AttVal* TY_(DupAttrs)( TidyDocImpl* doc, AttVal* attrs ); <p><em>text</em></p> <p><em><em>more text</em></em> */ -void TY_(PushInline)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE void TY_(PushInline)( TidyDocImpl* doc, Node* node ); /* pop inline stack */ -void TY_(PopInline)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE void TY_(PopInline)( TidyDocImpl* doc, Node* node ); -Bool TY_(IsPushed)( TidyDocImpl* doc, Node* node ); -Bool TY_(IsPushedLast)( TidyDocImpl* doc, Node *element, Node *node ); +TY_PRIVATE Bool TY_(IsPushed)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE Bool TY_(IsPushedLast)( TidyDocImpl* doc, Node *element, Node *node ); /* This has the effect of inserting "missing" inline @@ -581,18 +581,18 @@ Bool TY_(IsPushedLast)( TidyDocImpl* doc, Node *element, Node *node ); where it gets tokens from the inline stack rather than from the input stream. */ -int TY_(InlineDup)( TidyDocImpl* doc, Node *node ); +TY_PRIVATE int TY_(InlineDup)( TidyDocImpl* doc, Node *node ); /* defer duplicates when entering a table or other element where the inlines shouldn't be duplicated */ -void TY_(DeferDup)( TidyDocImpl* doc ); -Node* TY_(InsertedToken)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(DeferDup)( TidyDocImpl* doc ); +TY_PRIVATE Node* TY_(InsertedToken)( TidyDocImpl* doc ); /* stack manipulation for inline elements */ -Bool TY_(SwitchInline)( TidyDocImpl* doc, Node* element, Node* node ); -Bool TY_(InlineDup1)( TidyDocImpl* doc, Node* node, Node* element ); +TY_PRIVATE Bool TY_(SwitchInline)( TidyDocImpl* doc, Node* element, Node* node ); +TY_PRIVATE Bool TY_(InlineDup1)( TidyDocImpl* doc, Node* node, Node* element ); #ifdef __cplusplus } diff --git a/src/message.c b/src/message.c index 8f6b1fb..7c57dfc 100644 --- a/src/message.c +++ b/src/message.c @@ -1073,7 +1073,7 @@ static struct _dialogueDispatchTable { ** every message, because they're not all the complex and there aren't that ** many. */ -TidyMessageImpl *formatDialogue( TidyDocImpl* doc, uint code, TidyReportLevel level, va_list args ) +static TidyMessageImpl *formatDialogue( TidyDocImpl* doc, uint code, TidyReportLevel level, va_list args ) { switch (code) { diff --git a/src/message.h b/src/message.h index b093d1d..b8e759c 100644 --- a/src/message.h +++ b/src/message.h @@ -66,12 +66,12 @@ /** * Returns the release date of this instance of HTML Tidy. */ -ctmbstr TY_(ReleaseDate)(void); +TY_PRIVATE ctmbstr TY_(ReleaseDate)(void); /** * Returns the release version of this instance of HTML Tidy. */ -ctmbstr TY_(tidyLibraryVersion)(void); +TY_PRIVATE ctmbstr TY_(tidyLibraryVersion)(void); /** @} message_releaseinfo group */ @@ -105,7 +105,7 @@ ctmbstr TY_(tidyLibraryVersion)(void); * The designated report writing function. When a proper formatter exists, * this one function can hanle all report output. */ -void TY_(Report)(TidyDocImpl* doc, Node *element, Node *node, uint code, ...); +TY_PRIVATE void TY_(Report)(TidyDocImpl* doc, Node *element, Node *node, uint code, ...); /** @} */ @@ -117,16 +117,16 @@ void TY_(Report)(TidyDocImpl* doc, Node *element, Node *node, uint code, ...); /** @{ */ -void TY_(ReportAccessError)( TidyDocImpl* doc, Node* node, uint code ); -void TY_(ReportAttrError)(TidyDocImpl* doc, Node *node, AttVal *av, uint code); -void TY_(ReportBadArgument)( TidyDocImpl* doc, ctmbstr option ); -void TY_(ReportEntityError)( TidyDocImpl* doc, uint code, ctmbstr entity, int c ); -void TY_(ReportFileError)( TidyDocImpl* doc, ctmbstr file, uint code ); -void TY_(ReportEncodingError)(TidyDocImpl* doc, uint code, uint c, Bool discarded); -void TY_(ReportEncodingWarning)(TidyDocImpl* doc, uint code, uint encoding); -void TY_(ReportMissingAttr)( TidyDocImpl* doc, Node* node, ctmbstr name ); -void TY_(ReportSurrogateError)(TidyDocImpl* doc, uint code, uint c1, uint c2); -void TY_(ReportUnknownOption)( TidyDocImpl* doc, ctmbstr option ); +TY_PRIVATE void TY_(ReportAccessError)( TidyDocImpl* doc, Node* node, uint code ); +TY_PRIVATE void TY_(ReportAttrError)(TidyDocImpl* doc, Node *node, AttVal *av, uint code); +TY_PRIVATE void TY_(ReportBadArgument)( TidyDocImpl* doc, ctmbstr option ); +TY_PRIVATE void TY_(ReportEntityError)( TidyDocImpl* doc, uint code, ctmbstr entity, int c ); +TY_PRIVATE void TY_(ReportFileError)( TidyDocImpl* doc, ctmbstr file, uint code ); +TY_PRIVATE void TY_(ReportEncodingError)(TidyDocImpl* doc, uint code, uint c, Bool discarded); +TY_PRIVATE void TY_(ReportEncodingWarning)(TidyDocImpl* doc, uint code, uint encoding); +TY_PRIVATE void TY_(ReportMissingAttr)( TidyDocImpl* doc, Node* node, ctmbstr name ); +TY_PRIVATE void TY_(ReportSurrogateError)(TidyDocImpl* doc, uint code, uint c1, uint c2); +TY_PRIVATE void TY_(ReportUnknownOption)( TidyDocImpl* doc, ctmbstr option ); /** @} */ @@ -141,7 +141,7 @@ void TY_(ReportUnknownOption)( TidyDocImpl* doc, ctmbstr option ); * Emits a single dialogue message, and is capable of accepting a variadic * that is passed to the correct message formatter as needed. */ -void TY_(Dialogue)( TidyDocImpl* doc, uint code, ... ); +TY_PRIVATE void TY_(Dialogue)( TidyDocImpl* doc, uint code, ... ); /** @} */ @@ -157,7 +157,7 @@ void TY_(Dialogue)( TidyDocImpl* doc, uint code, ... ); * @todo: This name is a bit misleading and should probably be renamed to * indicate its focus on printing footnotes. */ -void TY_(ErrorSummary)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(ErrorSummary)( TidyDocImpl* doc ); /** @@ -166,7 +166,7 @@ void TY_(ErrorSummary)( TidyDocImpl* doc ); * Called by `tidyRunDiagnostics()`, from console. * Called by `tidyDocReportDoctype()`, currently unused. */ -void TY_(ReportMarkupVersion)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(ReportMarkupVersion)( TidyDocImpl* doc ); /** @@ -174,7 +174,7 @@ void TY_(ReportMarkupVersion)( TidyDocImpl* doc ); * inforation. * Called by `tidyRunDiagnostics()`, from console. */ -void TY_(ReportNumWarnings)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(ReportNumWarnings)( TidyDocImpl* doc ); /** @} */ @@ -201,27 +201,27 @@ typedef struct _mutedMessages { /** Frees the list of muted messages. ** @param doc The Tidy document. */ -void TY_(FreeMutedMessageList)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(FreeMutedMessageList)( TidyDocImpl* doc ); /** Adds a new message ID to the list of muted messages. ** @param doc The Tidy document. ** @param opt The option that is defining the muted message. ** @param name The message code as a string. */ -void TY_(DefineMutedMessage)( TidyDocImpl* doc, const TidyOptionImpl* opt, ctmbstr name ); +TY_PRIVATE void TY_(DefineMutedMessage)( TidyDocImpl* doc, const TidyOptionImpl* opt, ctmbstr name ); /** Start an iterator for muted messages. ** @param doc The Tidy document. ** @returns Returns an iterator token. */ -TidyIterator TY_(getMutedMessageList)( TidyDocImpl* doc ); +TY_PRIVATE TidyIterator TY_(getMutedMessageList)( TidyDocImpl* doc ); /** Get the next priority attribute. ** @param doc The Tidy document. ** @param iter The iterator token. ** @returns The next priority attribute. */ -ctmbstr TY_(getNextMutedMessage)( TidyDocImpl* doc, TidyIterator* iter ); +TY_PRIVATE ctmbstr TY_(getNextMutedMessage)( TidyDocImpl* doc, TidyIterator* iter ); /** @} message_muting group */ @@ -245,13 +245,13 @@ ctmbstr TY_(getNextMutedMessage)( TidyDocImpl* doc, TidyIterator* iter ); * `TidyReportCallback` will return this general string as the report * message key. */ -ctmbstr TY_(tidyErrorCodeAsKey)(uint code); +TY_PRIVATE ctmbstr TY_(tidyErrorCodeAsKey)(uint code); /** * Given an error code string, return the integer value of it, or UINT_MAX * as an error flag. */ -uint TY_(tidyErrorCodeFromKey)(ctmbstr code); +TY_PRIVATE uint TY_(tidyErrorCodeFromKey)(ctmbstr code); /** @@ -260,14 +260,14 @@ uint TY_(tidyErrorCodeFromKey)(ctmbstr code); * `TidyReportFilter3`. * Items can be retrieved with getNextErrorCode(); */ -TidyIterator TY_(getErrorCodeList)(void); +TY_PRIVATE TidyIterator TY_(getErrorCodeList)(void); /** * Returns the next error code having initialized the iterator * with `getErrorCodeList()`. You can use tidyErrorCodeAsKey * to determine the key for this value. */ -uint TY_(getNextErrorCode)( TidyIterator* iter ); +TY_PRIVATE uint TY_(getNextErrorCode)( TidyIterator* iter ); /** @} message_keydiscovery group */ diff --git a/src/messageobj.h b/src/messageobj.h index 0ee1666..e22a24f 100644 --- a/src/messageobj.h +++ b/src/messageobj.h @@ -29,7 +29,7 @@ /** Creates a TidyMessageImpl, but without line numbers, such as used for ** information report output. */ -TidyMessageImpl *TY_(tidyMessageCreate)( TidyDocImpl *doc, +TY_PRIVATE TidyMessageImpl *TY_(tidyMessageCreate)( TidyDocImpl *doc, uint code, TidyReportLevel level, ... ); @@ -37,7 +37,7 @@ TidyMessageImpl *TY_(tidyMessageCreate)( TidyDocImpl *doc, /** Creates a TidyMessageImpl, using the line and column from the provided ** Node as the message position source. */ -TidyMessageImpl *TY_(tidyMessageCreateWithNode)( TidyDocImpl *doc, +TY_PRIVATE TidyMessageImpl *TY_(tidyMessageCreateWithNode)( TidyDocImpl *doc, Node *node, uint code, TidyReportLevel level, @@ -46,7 +46,7 @@ TidyMessageImpl *TY_(tidyMessageCreateWithNode)( TidyDocImpl *doc, /** Creates a TidyMessageImpl, using the line and column from the provided ** document's Lexer as the message position source. */ -TidyMessageImpl *TY_(tidyMessageCreateWithLexer)( TidyDocImpl *doc, +TY_PRIVATE TidyMessageImpl *TY_(tidyMessageCreateWithLexer)( TidyDocImpl *doc, uint code, TidyReportLevel level, ... ); @@ -54,7 +54,7 @@ TidyMessageImpl *TY_(tidyMessageCreateWithLexer)( TidyDocImpl *doc, /** Deallocates a TidyMessageImpl in order to free up its allocated memory ** when you're done using it. */ -void TY_(tidyMessageRelease)( TidyMessageImpl *message ); +TY_PRIVATE void TY_(tidyMessageRelease)( TidyMessageImpl *message ); /** @} end messageobj_instantiation group */ @@ -63,55 +63,55 @@ void TY_(tidyMessageRelease)( TidyMessageImpl *message ); /** get the document the message came from. */ -TidyDocImpl* TY_(getMessageDoc)( TidyMessageImpl message ); +TY_PRIVATE TidyDocImpl* TY_(getMessageDoc)( TidyMessageImpl message ); /** get the message key code. */ -uint TY_(getMessageCode)( TidyMessageImpl message ); +TY_PRIVATE uint TY_(getMessageCode)( TidyMessageImpl message ); /** get the message key string. */ -ctmbstr TY_(getMessageKey)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessageKey)( TidyMessageImpl message ); /** get the line number the message applies to. */ -int TY_(getMessageLine)( TidyMessageImpl message ); +TY_PRIVATE int TY_(getMessageLine)( TidyMessageImpl message ); /** get the column the message applies to. */ -int TY_(getMessageColumn)( TidyMessageImpl message ); +TY_PRIVATE int TY_(getMessageColumn)( TidyMessageImpl message ); /** get the TidyReportLevel of the message. */ -TidyReportLevel TY_(getMessageLevel)( TidyMessageImpl message ); +TY_PRIVATE TidyReportLevel TY_(getMessageLevel)( TidyMessageImpl message ); /** get whether or not the message was muted by the configuration. */ -Bool TY_(getMessageIsMuted)( TidyMessageImpl message ); +TY_PRIVATE Bool TY_(getMessageIsMuted)( TidyMessageImpl message ); /** the built-in format string */ -ctmbstr TY_(getMessageFormatDefault)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessageFormatDefault)( TidyMessageImpl message ); /** the localized format string */ -ctmbstr TY_(getMessageFormat)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessageFormat)( TidyMessageImpl message ); /** the message, formatted, default language */ -ctmbstr TY_(getMessageDefault)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessageDefault)( TidyMessageImpl message ); /** the message, formatted, localized */ -ctmbstr TY_(getMessage)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessage)( TidyMessageImpl message ); /** the position part, default language */ -ctmbstr TY_(getMessagePosDefault)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessagePosDefault)( TidyMessageImpl message ); /** the position part, localized */ -ctmbstr TY_(getMessagePos)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessagePos)( TidyMessageImpl message ); /** the prefix part, default language */ -ctmbstr TY_(getMessagePrefixDefault)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessagePrefixDefault)( TidyMessageImpl message ); /** the prefix part, localized */ -ctmbstr TY_(getMessagePrefix)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessagePrefix)( TidyMessageImpl message ); /** the complete message, as would be output in the CLI */ -ctmbstr TY_(getMessageOutputDefault)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessageOutputDefault)( TidyMessageImpl message ); /* the complete message, as would be output in the CLI, localized */ -ctmbstr TY_(getMessageOutput)( TidyMessageImpl message ); +TY_PRIVATE ctmbstr TY_(getMessageOutput)( TidyMessageImpl message ); /** @} end messageobj_message_api group */ @@ -123,19 +123,19 @@ ctmbstr TY_(getMessageOutput)( TidyMessageImpl message ); * argument. Use `TY_(getNextMEssageArgument)` to get an opaque instance of * `TidyMessageArgument` for which the subsequent interrogators will be of use. */ -TidyIterator TY_(getMessageArguments)( TidyMessageImpl message ); +TY_PRIVATE TidyIterator TY_(getMessageArguments)( TidyMessageImpl message ); /** * Returns the next `TidyMessageArgument`, for the given message, which can * then be interrogated with the API, and advances the iterator. */ -TidyMessageArgument TY_(getNextMessageArgument)( TidyMessageImpl message, TidyIterator* iter ); +TY_PRIVATE TidyMessageArgument TY_(getNextMessageArgument)( TidyMessageImpl message, TidyIterator* iter ); /** * Returns the `TidyFormatParameterType` of the given message argument. */ -TidyFormatParameterType TY_(getArgType)( TidyMessageImpl message, TidyMessageArgument* arg ); +TY_PRIVATE TidyFormatParameterType TY_(getArgType)( TidyMessageImpl message, TidyMessageArgument* arg ); /** @@ -143,14 +143,14 @@ TidyFormatParameterType TY_(getArgType)( TidyMessageImpl message, TidyMessageArg * this string is cleared upon termination of the callback, so do be sure to * make your own copy. */ -ctmbstr TY_(getArgFormat)( TidyMessageImpl message, TidyMessageArgument* arg ); +TY_PRIVATE ctmbstr TY_(getArgFormat)( TidyMessageImpl message, TidyMessageArgument* arg ); /** * Returns the string value of the given message argument. An assertion * will be generated if the argument type is not a string. */ -ctmbstr TY_(getArgValueString)( TidyMessageImpl message, TidyMessageArgument* arg ); +TY_PRIVATE ctmbstr TY_(getArgValueString)( TidyMessageImpl message, TidyMessageArgument* arg ); /** @@ -158,21 +158,21 @@ ctmbstr TY_(getArgValueString)( TidyMessageImpl message, TidyMessageArgument* ar * assertion will be generated if the argument type is not an unsigned * integer. */ -uint TY_(getArgValueUInt)( TidyMessageImpl message, TidyMessageArgument* arg ); +TY_PRIVATE uint TY_(getArgValueUInt)( TidyMessageImpl message, TidyMessageArgument* arg ); /** * Returns the integer value of the given message argument. An assertion * will be generated if the argument type is not an integer. */ -int TY_(getArgValueInt)( TidyMessageImpl message, TidyMessageArgument* arg ); +TY_PRIVATE int TY_(getArgValueInt)( TidyMessageImpl message, TidyMessageArgument* arg ); /** * Returns the double value of the given message argument. An assertion * will be generated if the argument type is not a double. */ -double TY_(getArgValueDouble)( TidyMessageImpl message, TidyMessageArgument* arg ); +TY_PRIVATE double TY_(getArgValueDouble)( TidyMessageImpl message, TidyMessageArgument* arg ); /** @} end messageobj_args_api group */ diff --git a/src/parser.c b/src/parser.c index cda3200..c974c0e 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1536,7 +1536,7 @@ void TY_(ParseNamespace)(TidyDocImpl* doc, Node *basenode, GetTokenMode mode) } -void TY_(ParseInline)( TidyDocImpl* doc, Node *element, GetTokenMode mode ) +TY_PRIVATE void TY_(ParseInline)( TidyDocImpl* doc, Node *element, GetTokenMode mode ) { #if defined(ENABLE_DEBUG_LOG) static int in_parse_inline = 0; @@ -3738,7 +3738,7 @@ void TY_(ParseHead)(TidyDocImpl* doc, Node *head, GetTokenMode ARG_UNUSED(mode)) * Issue #166 - repeated <main> element * But this service is generalised to check for other duplicate elements \*/ -Bool TY_(FindNodeWithId)( Node *node, TidyTagId tid ) +static Bool TY_(FindNodeWithId)( Node *node, TidyTagId tid ) { Node *content; while (node) @@ -3768,7 +3768,7 @@ Bool TY_(FindNodeWithId)( Node *node, TidyTagId tid ) * Issue #166 - repeated <main> element * Do a global search for an element \*/ -Bool TY_(FindNodeById)( TidyDocImpl* doc, TidyTagId tid ) +static Bool TY_(FindNodeById)( TidyDocImpl* doc, TidyTagId tid ) { Node *node = (doc ? doc->root.content : NULL); return TY_(FindNodeWithId)(node,tid); diff --git a/src/parser.h b/src/parser.h index 6c4b6af..3b7b1e3 100644 --- a/src/parser.h +++ b/src/parser.h @@ -49,7 +49,7 @@ * @param node The root node for the integrity check. * @returns Returns yes or no indicating integrity of the node structure. */ -Bool TY_(CheckNodeIntegrity)(Node *node); +TY_PRIVATE Bool TY_(CheckNodeIntegrity)(Node *node); /** @@ -60,7 +60,7 @@ Bool TY_(CheckNodeIntegrity)(Node *node); * @param node The node to check. * @returns The result of the check. */ -Bool TY_(TextNodeEndWithSpace)( Lexer *lexer, Node *node ); +TY_PRIVATE Bool TY_(TextNodeEndWithSpace)( Lexer *lexer, Node *node ); /** @@ -70,7 +70,7 @@ Bool TY_(TextNodeEndWithSpace)( Lexer *lexer, Node *node ); * @param node The node to check. * @returns The result of the check. */ -Bool TY_(IsNewNode)(Node *node); +TY_PRIVATE Bool TY_(IsNewNode)(Node *node); /** @@ -83,7 +83,7 @@ Bool TY_(IsNewNode)(Node *node); * @param expected If the old node was not expected to be found in this * particular location, a report will be generated. */ -void TY_(CoerceNode)(TidyDocImpl* doc, Node *node, TidyTagId tid, Bool obsolete, Bool expected); +TY_PRIVATE void TY_(CoerceNode)(TidyDocImpl* doc, Node *node, TidyTagId tid, Bool obsolete, Bool expected); /** @@ -91,7 +91,7 @@ void TY_(CoerceNode)(TidyDocImpl* doc, Node *node, TidyTagId tid, Bool obsolete, * @param node The node to remove. * @returns Returns the removed node. */ -Node *TY_(RemoveNode)(Node *node); +TY_PRIVATE Node *TY_(RemoveNode)(Node *node); /** @@ -100,7 +100,7 @@ Node *TY_(RemoveNode)(Node *node); * @param element The node to discard. * @returns Returns the next node. */ -Node *TY_(DiscardElement)( TidyDocImpl* doc, Node *element); +TY_PRIVATE Node *TY_(DiscardElement)( TidyDocImpl* doc, Node *element); /** @@ -108,7 +108,7 @@ Node *TY_(DiscardElement)( TidyDocImpl* doc, Node *element); * @param element The new destination node. * @param node The node to insert. */ -void TY_(InsertNodeAtStart)(Node *element, Node *node); +TY_PRIVATE void TY_(InsertNodeAtStart)(Node *element, Node *node); /** @@ -116,7 +116,7 @@ void TY_(InsertNodeAtStart)(Node *element, Node *node); * @param element The new destination node. * @param node The node to insert. */ -void TY_(InsertNodeAtEnd)(Node *element, Node *node); +TY_PRIVATE void TY_(InsertNodeAtEnd)(Node *element, Node *node); /** @@ -124,7 +124,7 @@ void TY_(InsertNodeAtEnd)(Node *element, Node *node); * @param element The node before which the node is inserted. * @param node The node to insert. */ -void TY_(InsertNodeBeforeElement)(Node *element, Node *node); +TY_PRIVATE void TY_(InsertNodeBeforeElement)(Node *element, Node *node); /** @@ -132,7 +132,7 @@ void TY_(InsertNodeBeforeElement)(Node *element, Node *node); * @param element The node after which the node is inserted. * @param node The node to insert. */ -void TY_(InsertNodeAfterElement)(Node *element, Node *node); +TY_PRIVATE void TY_(InsertNodeAfterElement)(Node *element, Node *node); /** @@ -141,7 +141,7 @@ void TY_(InsertNodeAfterElement)(Node *element, Node *node); * @param element The element to trim. * @returns Returns the next node. */ -Node *TY_(TrimEmptyElement)( TidyDocImpl* doc, Node *element ); +TY_PRIVATE Node *TY_(TrimEmptyElement)( TidyDocImpl* doc, Node *element ); /** @@ -150,7 +150,7 @@ Node *TY_(TrimEmptyElement)( TidyDocImpl* doc, Node *element ); * @param node The element to trim. * @returns Returns the next node. */ -Node* TY_(DropEmptyElements)(TidyDocImpl* doc, Node* node); +TY_PRIVATE Node* TY_(DropEmptyElements)(TidyDocImpl* doc, Node* node); /** @@ -160,7 +160,7 @@ Node* TY_(DropEmptyElements)(TidyDocImpl* doc, Node* node); * @param node The node to test. * @returns Returns the result of the test. */ -Bool TY_(IsBlank)(Lexer *lexer, Node *node); +TY_PRIVATE Bool TY_(IsBlank)(Lexer *lexer, Node *node); /** @@ -169,7 +169,7 @@ Bool TY_(IsBlank)(Lexer *lexer, Node *node); * @param node The node to test. * @returns Returns the result of the test. */ -Bool TY_(IsJavaScript)(Node *node); +TY_PRIVATE Bool TY_(IsJavaScript)(Node *node); /** @@ -178,7 +178,7 @@ Bool TY_(IsJavaScript)(Node *node); * remaining nodes. HTML is the root node. * @param doc The Tidy document. */ -void TY_(ParseDocument)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(ParseDocument)( TidyDocImpl* doc ); /** @@ -188,14 +188,14 @@ void TY_(ParseDocument)( TidyDocImpl* doc ); * @param element The node to test. * @returns Returns the result of the test. */ -Bool TY_(XMLPreserveWhiteSpace)( TidyDocImpl* doc, Node *element ); +TY_PRIVATE Bool TY_(XMLPreserveWhiteSpace)( TidyDocImpl* doc, Node *element ); /** * Parses a document after lexing using the XML parser. * @param doc The Tidy document. */ -void TY_(ParseXMLDocument)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(ParseXMLDocument)( TidyDocImpl* doc ); /** @} end parser_h group */ diff --git a/src/pprint.c b/src/pprint.c index 7ef47c8..2dbbe3e 100644 --- a/src/pprint.c +++ b/src/pprint.c @@ -713,7 +713,7 @@ static void PCondFlushLine( TidyDocImpl* doc, uint indent ) * These need to be used in the right place. In same cases `PFlushLine` * and `PCondFlushLine` should still be used. */ -void TY_(PFlushLineSmart)( TidyDocImpl* doc, uint indent ) +static void TY_(PFlushLineSmart)( TidyDocImpl* doc, uint indent ) { TidyPrintImpl* pprint = &doc->pprint; diff --git a/src/pprint.h b/src/pprint.h index 6ae36df..d72c1a1 100644 --- a/src/pprint.h +++ b/src/pprint.h @@ -60,10 +60,10 @@ typedef struct _TidyPrintImpl } TidyPrintImpl; -void TY_(InitPrintBuf)( TidyDocImpl* doc ); -void TY_(FreePrintBuf)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(InitPrintBuf)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(FreePrintBuf)( TidyDocImpl* doc ); -void TY_(PFlushLine)( TidyDocImpl* doc, uint indent ); +TY_PRIVATE void TY_(PFlushLine)( TidyDocImpl* doc, uint indent ); /* print just the content of the body element. @@ -73,17 +73,17 @@ void TY_(PFlushLine)( TidyDocImpl* doc, uint indent ); ** -- Sebastiano Vigna <vigna@dsi.unimi.it> */ -void TY_(PrintBody)( TidyDocImpl* doc ); /* you can print an entire document */ +TY_PRIVATE void TY_(PrintBody)( TidyDocImpl* doc ); /* you can print an entire document */ /* node as body using PPrintTree() */ -void TY_(PPrintTree)( TidyDocImpl* doc, uint mode, uint indent, Node *node ); +TY_PRIVATE void TY_(PPrintTree)( TidyDocImpl* doc, uint mode, uint indent, Node *node ); -void TY_(PPrintXMLTree)( TidyDocImpl* doc, uint mode, uint indent, Node *node ); +TY_PRIVATE void TY_(PPrintXMLTree)( TidyDocImpl* doc, uint mode, uint indent, Node *node ); /*\ * 20150515 - support using tabs instead of spaces \*/ -void TY_(PPrintTabs)(void); -void TY_(PPrintSpaces)(void); +TY_PRIVATE void TY_(PPrintTabs)(void); +TY_PRIVATE void TY_(PPrintSpaces)(void); #endif /* __PPRINT_H__ */ diff --git a/src/streamio.h b/src/streamio.h index d3908f2..62bd8f7 100644 --- a/src/streamio.h +++ b/src/streamio.h @@ -83,17 +83,17 @@ struct _StreamIn TidyDocImpl* doc; }; -StreamIn* TY_(initStreamIn)( TidyDocImpl* doc, int encoding ); -void TY_(freeStreamIn)(StreamIn* in); +TY_PRIVATE StreamIn* TY_(initStreamIn)( TidyDocImpl* doc, int encoding ); +TY_PRIVATE void TY_(freeStreamIn)(StreamIn* in); -StreamIn* TY_(FileInput)( TidyDocImpl* doc, FILE* fp, int encoding ); -StreamIn* TY_(BufferInput)( TidyDocImpl* doc, TidyBuffer* content, int encoding ); -StreamIn* TY_(UserInput)( TidyDocImpl* doc, TidyInputSource* source, int encoding ); +TY_PRIVATE StreamIn* TY_(FileInput)( TidyDocImpl* doc, FILE* fp, int encoding ); +TY_PRIVATE StreamIn* TY_(BufferInput)( TidyDocImpl* doc, TidyBuffer* content, int encoding ); +TY_PRIVATE StreamIn* TY_(UserInput)( TidyDocImpl* doc, TidyInputSource* source, int encoding ); -int TY_(ReadBOMEncoding)(StreamIn *in); -uint TY_(ReadChar)( StreamIn* in ); -void TY_(UngetChar)( uint c, StreamIn* in ); -Bool TY_(IsEOF)( StreamIn* in ); +TY_PRIVATE int TY_(ReadBOMEncoding)(StreamIn *in); +TY_PRIVATE uint TY_(ReadChar)( StreamIn* in ); +TY_PRIVATE void TY_(UngetChar)( uint c, StreamIn* in ); +TY_PRIVATE Bool TY_(IsEOF)( StreamIn* in ); /************************ @@ -109,20 +109,20 @@ struct _StreamOut TidyOutputSink sink; }; -StreamOut* TY_(FileOutput)( TidyDocImpl *doc, FILE* fp, int encoding, uint newln ); -StreamOut* TY_(BufferOutput)( TidyDocImpl *doc, TidyBuffer* buf, int encoding, uint newln ); -StreamOut* TY_(UserOutput)( TidyDocImpl *doc, TidyOutputSink* sink, int encoding, uint newln ); +TY_PRIVATE StreamOut* TY_(FileOutput)( TidyDocImpl *doc, FILE* fp, int encoding, uint newln ); +TY_PRIVATE StreamOut* TY_(BufferOutput)( TidyDocImpl *doc, TidyBuffer* buf, int encoding, uint newln ); +TY_PRIVATE StreamOut* TY_(UserOutput)( TidyDocImpl *doc, TidyOutputSink* sink, int encoding, uint newln ); -StreamOut* TY_(StdErrOutput)(void); +TY_PRIVATE StreamOut* TY_(StdErrOutput)(void); /* StreamOut* StdOutOutput(void); */ -void TY_(ReleaseStreamOut)( TidyDocImpl *doc, StreamOut* out ); +TY_PRIVATE void TY_(ReleaseStreamOut)( TidyDocImpl *doc, StreamOut* out ); -void TY_(WriteChar)( uint c, StreamOut* out ); -void TY_(outBOM)( StreamOut *out ); +TY_PRIVATE void TY_(WriteChar)( uint c, StreamOut* out ); +TY_PRIVATE void TY_(outBOM)( StreamOut *out ); -ctmbstr TY_(GetEncodingNameFromTidyId)(uint id); -ctmbstr TY_(GetEncodingOptNameFromTidyId)(uint id); -int TY_(GetCharEncodingFromOptName)(ctmbstr charenc); +TY_PRIVATE ctmbstr TY_(GetEncodingNameFromTidyId)(uint id); +TY_PRIVATE ctmbstr TY_(GetEncodingOptNameFromTidyId)(uint id); +TY_PRIVATE int TY_(GetCharEncodingFromOptName)(ctmbstr charenc); /************************ ** Misc @@ -146,10 +146,10 @@ int TY_(GetCharEncodingFromOptName)(ctmbstr charenc); #define SHIFTJIS 13 /* Function for conversion from Windows-1252 to Unicode */ -uint TY_(DecodeWin1252)(uint c); +TY_PRIVATE uint TY_(DecodeWin1252)(uint c); /* Function to convert from MacRoman to Unicode */ -uint TY_(DecodeMacRoman)(uint c); +TY_PRIVATE uint TY_(DecodeMacRoman)(uint c); #ifdef __cplusplus } diff --git a/src/tags.h b/src/tags.h index 744e3f0..9cb5e6e 100644 --- a/src/tags.h +++ b/src/tags.h @@ -119,21 +119,21 @@ typedef struct _TidyTagImpl ** @param opt The option the tag is intended for. ** @param name The name of the new tag. */ -void TY_(DeclareUserTag)( TidyDocImpl* doc, const TidyOptionImpl* opt, ctmbstr name ); +TY_PRIVATE void TY_(DeclareUserTag)( TidyDocImpl* doc, const TidyOptionImpl* opt, ctmbstr name ); /** Interface for finding a tag by TidyTagId. ** @param tid The TidyTagId to search for. ** @returns An instance of a Tidy tag. */ -const Dict* TY_(LookupTagDef)( TidyTagId tid ); +TY_PRIVATE const Dict* TY_(LookupTagDef)( TidyTagId tid ); /** Assigns the node's tag. ** @param doc The Tidy document. ** @param node The node to assign the tag to. ** @returns Returns a bool indicating whether or not the tag was assigned. */ -Bool TY_(FindTag)( TidyDocImpl* doc, Node *node ); +TY_PRIVATE Bool TY_(FindTag)( TidyDocImpl* doc, Node *node ); /** Finds the parser function for a given node. @@ -141,7 +141,7 @@ Bool TY_(FindTag)( TidyDocImpl* doc, Node *node ); ** @param node The node to lookup. ** @returns The parser for the given node. */ -Parser* TY_(FindParser)( TidyDocImpl* doc, Node *node ); +TY_PRIVATE Parser* TY_(FindParser)( TidyDocImpl* doc, Node *node ); /** Defines a new user-defined tag. @@ -149,7 +149,7 @@ Parser* TY_(FindParser)( TidyDocImpl* doc, Node *node ); ** @param tagType The type of user-defined tag to define. ** @param name The name of the new tag. */ -void TY_(DefineTag)( TidyDocImpl* doc, UserTagType tagType, ctmbstr name ); +TY_PRIVATE void TY_(DefineTag)( TidyDocImpl* doc, UserTagType tagType, ctmbstr name ); /** Frees user-defined tags of the given type, or all user tags in given @@ -158,7 +158,7 @@ void TY_(DefineTag)( TidyDocImpl* doc, UserTagType tagType, ctmbstr name ); ** @param tagType The type of tag to free, or `tagtype_null` to free all ** user-defined tags. */ -void TY_(FreeDeclaredTags)( TidyDocImpl* doc, UserTagType tagType ); +TY_PRIVATE void TY_(FreeDeclaredTags)( TidyDocImpl* doc, UserTagType tagType ); /** Initiates an iterator for a list of user-declared tags, including autonomous @@ -168,7 +168,7 @@ void TY_(FreeDeclaredTags)( TidyDocImpl* doc, UserTagType tagType ); ** @result Returns a TidyIterator, which is a token used to represent the ** current position in a list within LibTidy. */ -TidyIterator TY_(GetDeclaredTagList)( TidyDocImpl* doc ); +TY_PRIVATE TidyIterator TY_(GetDeclaredTagList)( TidyDocImpl* doc ); /** Given a valid TidyIterator initiated with TY_(GetDeclaredTagList)(), @@ -183,40 +183,40 @@ TidyIterator TY_(GetDeclaredTagList)( TidyDocImpl* doc ); ** TY_(GetDeclaredTagList)(). ** @result A string containing the next tag. */ -ctmbstr TY_(GetNextDeclaredTag)( TidyDocImpl* doc, UserTagType tagType, +TY_PRIVATE ctmbstr TY_(GetNextDeclaredTag)( TidyDocImpl* doc, UserTagType tagType, TidyIterator* iter ); /** Initializes tags and tag structures for the given Tidy document. ** @param doc The Tidy document. */ -void TY_(InitTags)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(InitTags)( TidyDocImpl* doc ); /** Frees the tags and structures used by Tidy for tags. ** @param doc The Tidy document. */ -void TY_(FreeTags)( TidyDocImpl* doc ); +TY_PRIVATE void TY_(FreeTags)( TidyDocImpl* doc ); /** Tidy defaults to HTML5 mode. If the <!DOCTYPE ...> is found to NOT be ** HTML5, then adjust the tags table to HTML4 mode. ** @param doc The Tidy document. */ -void TY_(AdjustTags)( TidyDocImpl *doc ); +TY_PRIVATE void TY_(AdjustTags)( TidyDocImpl *doc ); /** Reset the tags table back to default HTML5 mode. ** @param doc The Tidy document. */ -void TY_(ResetTags)( TidyDocImpl *doc ); +TY_PRIVATE void TY_(ResetTags)( TidyDocImpl *doc ); /** Indicates whether or not the Tidy is procesing in HTML5 mode. ** @param doc The Tidy document. ** @returns Returns `yes` if processing in HTML5 mode. */ -Bool TY_(IsHTML5Mode)( TidyDocImpl *doc ); +TY_PRIVATE Bool TY_(IsHTML5Mode)( TidyDocImpl *doc ); /** @} */ @@ -227,30 +227,30 @@ Bool TY_(IsHTML5Mode)( TidyDocImpl *doc ); /** @{ */ -Parser TY_(ParseHTML); -Parser TY_(ParseHead); -Parser TY_(ParseTitle); -Parser TY_(ParseScript); -Parser TY_(ParseFrameSet); -Parser TY_(ParseNoFrames); -Parser TY_(ParseBody); -Parser TY_(ParsePre); -Parser TY_(ParseList); -Parser TY_(ParseDefList); -Parser TY_(ParseBlock); -Parser TY_(ParseInline); -Parser TY_(ParseEmpty); -Parser TY_(ParseTableTag); -Parser TY_(ParseColGroup); -Parser TY_(ParseRowGroup); -Parser TY_(ParseRow); -Parser TY_(ParseSelect); -Parser TY_(ParseOptGroup); -Parser TY_(ParseText); -Parser TY_(ParseDatalist); -Parser TY_(ParseNamespace); +TY_PRIVATE Parser TY_(ParseHTML); +TY_PRIVATE Parser TY_(ParseHead); +TY_PRIVATE Parser TY_(ParseTitle); +TY_PRIVATE Parser TY_(ParseScript); +TY_PRIVATE Parser TY_(ParseFrameSet); +TY_PRIVATE Parser TY_(ParseNoFrames); +TY_PRIVATE Parser TY_(ParseBody); +TY_PRIVATE Parser TY_(ParsePre); +TY_PRIVATE Parser TY_(ParseList); +TY_PRIVATE Parser TY_(ParseDefList); +TY_PRIVATE Parser TY_(ParseBlock); +TY_PRIVATE Parser TY_(ParseInline); +TY_PRIVATE Parser TY_(ParseEmpty); +TY_PRIVATE Parser TY_(ParseTableTag); +TY_PRIVATE Parser TY_(ParseColGroup); +TY_PRIVATE Parser TY_(ParseRowGroup); +TY_PRIVATE Parser TY_(ParseRow); +TY_PRIVATE Parser TY_(ParseSelect); +TY_PRIVATE Parser TY_(ParseOptGroup); +TY_PRIVATE Parser TY_(ParseText); +TY_PRIVATE Parser TY_(ParseDatalist); +TY_PRIVATE Parser TY_(ParseNamespace); -CheckAttribs TY_(CheckAttributes); +TY_PRIVATE CheckAttribs TY_(CheckAttributes); /** @} */ @@ -274,14 +274,14 @@ CheckAttribs TY_(CheckAttributes); ** @param node The node being interrogated. ** @returns The status of the inquiry. */ -Bool TY_(nodeIsText)( Node* node ); +TY_PRIVATE Bool TY_(nodeIsText)( Node* node ); /** Inquires whether or not the given node is an element node. ** @param node The node being interrogated. ** @returns The status of the inquiry. */ -Bool TY_(nodeIsElement)( Node* node ); +TY_PRIVATE Bool TY_(nodeIsElement)( Node* node ); /** Inquires whether or not the given node has any text. @@ -289,7 +289,7 @@ Bool TY_(nodeIsElement)( Node* node ); ** @param node The node being interrogated. ** @returns The status of the inquiry. */ -Bool TY_(nodeHasText)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE Bool TY_(nodeHasText)( TidyDocImpl* doc, Node* node ); /** Inquires whether the given element looks like it's an autonomous custom @@ -297,7 +297,7 @@ Bool TY_(nodeHasText)( TidyDocImpl* doc, Node* node ); ** @param element A string to be checked. ** @returns The status of the inquiry. */ -Bool TY_(elementIsAutonomousCustomFormat)( ctmbstr element ); +TY_PRIVATE Bool TY_(elementIsAutonomousCustomFormat)( ctmbstr element ); /** Inquires whether the given node looks like it's an autonomous custom @@ -305,7 +305,7 @@ Bool TY_(elementIsAutonomousCustomFormat)( ctmbstr element ); ** @param node The node being interrogated. ** @returns The status of the inquiry. */ -Bool TY_(nodeIsAutonomousCustomFormat)( Node* node ); +TY_PRIVATE Bool TY_(nodeIsAutonomousCustomFormat)( Node* node ); /** True if the node looks like it's an autonomous custom element tag, and @@ -315,7 +315,7 @@ Bool TY_(nodeIsAutonomousCustomFormat)( Node* node ); ** @param node The node being interrogated. ** @returns The status of the inquiry. */ -Bool TY_(nodeIsAutonomousCustomTag)( TidyDocImpl* doc, Node* node ); +TY_PRIVATE Bool TY_(nodeIsAutonomousCustomTag)( TidyDocImpl* doc, Node* node ); /** Does the node have the indicated content model? True if any of the bits @@ -324,42 +324,42 @@ Bool TY_(nodeIsAutonomousCustomTag)( TidyDocImpl* doc, Node* node ); ** @param contentModel The content model to check against. ** @returns The status of the inquiry. */ -Bool TY_(nodeHasCM)( Node* node, uint contentModel ); +TY_PRIVATE Bool TY_(nodeHasCM)( Node* node, uint contentModel ); /** Does the content model of the node include block? ** @param node The node being interrogated. ** @returns The status of the inquiry. */ -Bool TY_(nodeCMIsBlock)( Node* node ); +TY_PRIVATE Bool TY_(nodeCMIsBlock)( Node* node ); /** Does the content model of the node include inline? ** @param node The node being interrogated. ** @returns The status of the inquiry. */ -Bool TY_(nodeCMIsInline)( Node* node ); +TY_PRIVATE Bool TY_(nodeCMIsInline)( Node* node ); /** Does the content model of the node include empty? ** @param node The node being interrogated. ** @returns The status of the inquiry. */ -Bool TY_(nodeCMIsEmpty)( Node* node ); +TY_PRIVATE Bool TY_(nodeCMIsEmpty)( Node* node ); /** Is the node a header, such as H1, H2, ..., H6? ** @param node The node being interrogated. ** @returns The status of the inquiry. */ -Bool TY_(nodeIsHeader)( Node* node ); +TY_PRIVATE Bool TY_(nodeIsHeader)( Node* node ); /** Inquires as to the header level of the given node: 1, 2, ..., 6. ** @param node The node being interrogated. ** @returns The header level. */ -uint TY_(nodeHeaderLevel)( Node* node ); +TY_PRIVATE uint TY_(nodeHeaderLevel)( Node* node ); #define nodeIsHTML( node ) TagIsId( node, TidyTag_HTML ) diff --git a/src/tidy-int.h b/src/tidy-int.h index 55ab341..52d8e0f 100644 --- a/src/tidy-int.h +++ b/src/tidy-int.h @@ -153,7 +153,7 @@ struct _TidyMessageImpl #define TidyDocFree(doc, block) TidyFree((doc)->allocator, block) #define TidyDocPanic(doc, msg) TidyPanic((doc)->allocator, msg) -int TY_(DocParseStream)( TidyDocImpl* impl, StreamIn* in ); +TY_PRIVATE int TY_(DocParseStream)( TidyDocImpl* impl, StreamIn* in ); /* [i_a] generic node tree traversal code; used in several spots. @@ -175,6 +175,6 @@ typedef enum typedef NodeTraversalSignal NodeTraversalCallBack(TidyDocImpl* doc, Node* node, void *propagate); -NodeTraversalSignal TY_(TraverseNodeTree)(TidyDocImpl* doc, Node* node, NodeTraversalCallBack *cb, void *propagate); +TY_PRIVATE NodeTraversalSignal TY_(TraverseNodeTree)(TidyDocImpl* doc, Node* node, NodeTraversalCallBack *cb, void *propagate); #endif /* __TIDY_INT_H__ */ diff --git a/src/tidylib.c b/src/tidylib.c index 4485d1a..854d4f9 100644 --- a/src/tidylib.c +++ b/src/tidylib.c @@ -1578,7 +1578,7 @@ static struct _html5Info { "tt", TidyTag_TT }, { 0, 0 } }; -Bool inRemovedInfo( uint tid ) +static Bool inRemovedInfo( uint tid ) { int i; for (i = 0; ; i++) { @@ -1626,7 +1626,7 @@ static Bool nodeHasAlignAttr( Node *node ) * * See also: http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#obsolete */ -void TY_(CheckHTML5)( TidyDocImpl* doc, Node* node ) +static void TY_(CheckHTML5)( TidyDocImpl* doc, Node* node ) { Bool clean = cfgBool( doc, TidyMakeClean ); Bool already_strict = cfgBool( doc, TidyStrictTagsAttr ); @@ -1812,7 +1812,7 @@ void TY_(CheckHTML5)( TidyDocImpl* doc, Node* node ) * The propriety checks are *always* run as they have always been an integral * part of Tidy. The version checks are controlled by `strict-tags-attributes`. */ -void TY_(CheckHTMLTagsAttribsVersions)( TidyDocImpl* doc, Node* node ) +static void TY_(CheckHTMLTagsAttribsVersions)( TidyDocImpl* doc, Node* node ) { uint versionEmitted = doc->lexer->versionEmitted; uint declared = doc->lexer->doctype; diff --git a/src/tmbstr.h b/src/tmbstr.h index 260a6e3..46a50e1 100644 --- a/src/tmbstr.h +++ b/src/tmbstr.h @@ -16,23 +16,23 @@ extern "C" #endif /* like strdup but using an allocator */ -tmbstr TY_(tmbstrdup)( TidyAllocator *allocator, ctmbstr str ); +TY_PRIVATE tmbstr TY_(tmbstrdup)( TidyAllocator *allocator, ctmbstr str ); /* like strndup but using an allocator */ -tmbstr TY_(tmbstrndup)( TidyAllocator *allocator, ctmbstr str, uint len); +TY_PRIVATE tmbstr TY_(tmbstrndup)( TidyAllocator *allocator, ctmbstr str, uint len); /* exactly same as strncpy */ -uint TY_(tmbstrncpy)( tmbstr s1, ctmbstr s2, uint size ); +TY_PRIVATE uint TY_(tmbstrncpy)( tmbstr s1, ctmbstr s2, uint size ); -uint TY_(tmbstrcpy)( tmbstr s1, ctmbstr s2 ); +TY_PRIVATE uint TY_(tmbstrcpy)( tmbstr s1, ctmbstr s2 ); -uint TY_(tmbstrcat)( tmbstr s1, ctmbstr s2 ); +TY_PRIVATE uint TY_(tmbstrcat)( tmbstr s1, ctmbstr s2 ); /* exactly same as strcmp */ -int TY_(tmbstrcmp)( ctmbstr s1, ctmbstr s2 ); +TY_PRIVATE int TY_(tmbstrcmp)( ctmbstr s1, ctmbstr s2 ); /* returns byte count, not char count */ -uint TY_(tmbstrlen)( ctmbstr str ); +TY_PRIVATE uint TY_(tmbstrlen)( ctmbstr str ); /* MS C 4.2 doesn't include strcasecmp. @@ -45,35 +45,35 @@ uint TY_(tmbstrlen)( ctmbstr str ); we are always comparing to ascii element and attribute names defined by HTML specs. */ -int TY_(tmbstrcasecmp)( ctmbstr s1, ctmbstr s2 ); +TY_PRIVATE int TY_(tmbstrcasecmp)( ctmbstr s1, ctmbstr s2 ); -int TY_(tmbstrncmp)( ctmbstr s1, ctmbstr s2, uint n ); +TY_PRIVATE int TY_(tmbstrncmp)( ctmbstr s1, ctmbstr s2, uint n ); -int TY_(tmbstrncasecmp)( ctmbstr s1, ctmbstr s2, uint n ); +TY_PRIVATE int TY_(tmbstrncasecmp)( ctmbstr s1, ctmbstr s2, uint n ); /* return offset of cc from beginning of s1, ** -1 if not found. */ -/* int TY_(tmbstrnchr)( ctmbstr s1, uint len1, tmbchar cc ); */ +/* TY_PRIVATE int TY_(tmbstrnchr)( ctmbstr s1, uint len1, tmbchar cc ); */ -ctmbstr TY_(tmbsubstrn)( ctmbstr s1, uint len1, ctmbstr s2 ); -/* ctmbstr TY_(tmbsubstrncase)( ctmbstr s1, uint len1, ctmbstr s2 ); */ -ctmbstr TY_(tmbsubstr)( ctmbstr s1, ctmbstr s2 ); +TY_PRIVATE ctmbstr TY_(tmbsubstrn)( ctmbstr s1, uint len1, ctmbstr s2 ); +/* TY_PRIVATE ctmbstr TY_(tmbsubstrncase)( ctmbstr s1, uint len1, ctmbstr s2 ); */ +TY_PRIVATE ctmbstr TY_(tmbsubstr)( ctmbstr s1, ctmbstr s2 ); /* transform string to lower case */ -tmbstr TY_(tmbstrtolower)( tmbstr s ); +TY_PRIVATE tmbstr TY_(tmbstrtolower)( tmbstr s ); /* Transform ASCII chars in string to upper case */ -tmbstr TY_(tmbstrtoupper)( tmbstr s ); +TY_PRIVATE tmbstr TY_(tmbstrtoupper)( tmbstr s ); -/* Bool TY_(tmbsamefile)( ctmbstr filename1, ctmbstr filename2 ); */ +/* TY_PRIVATE Bool TY_(tmbsamefile)( ctmbstr filename1, ctmbstr filename2 ); */ -int TY_(tmbvsnprintf)(tmbstr buffer, size_t count, ctmbstr format, va_list args) +TY_PRIVATE int TY_(tmbvsnprintf)(tmbstr buffer, size_t count, ctmbstr format, va_list args) #ifdef __GNUC__ __attribute__((format(printf, 3, 0))) #endif ; -int TY_(tmbsnprintf)(tmbstr buffer, size_t count, ctmbstr format, ...) +TY_PRIVATE int TY_(tmbsnprintf)(tmbstr buffer, size_t count, ctmbstr format, ...) #ifdef __GNUC__ __attribute__((format(printf, 3, 4))) #endif diff --git a/src/utf8.h b/src/utf8.h index fe53a83..50664a5 100644 --- a/src/utf8.h +++ b/src/utf8.h @@ -15,15 +15,15 @@ ** Does not convert character "codepoints", i.e. to/from 10646. */ -int TY_(DecodeUTF8BytesToChar)( uint* c, uint firstByte, ctmbstr successorBytes, +TY_PRIVATE int TY_(DecodeUTF8BytesToChar)( uint* c, uint firstByte, ctmbstr successorBytes, TidyInputSource* inp, int* count ); -int TY_(EncodeCharToUTF8Bytes)( uint c, tmbstr encodebuf, +TY_PRIVATE int TY_(EncodeCharToUTF8Bytes)( uint c, tmbstr encodebuf, TidyOutputSink* outp, int* count ); -uint TY_(GetUTF8)( ctmbstr str, uint *ch ); -tmbstr TY_(PutUTF8)( tmbstr buf, uint c ); +TY_PRIVATE uint TY_(GetUTF8)( ctmbstr str, uint *ch ); +TY_PRIVATE tmbstr TY_(PutUTF8)( tmbstr buf, uint c ); #define UNICODE_BOM_BE 0xFEFF /* big-endian (default) UNICODE BOM */ #define UNICODE_BOM UNICODE_BOM_BE @@ -31,15 +31,15 @@ tmbstr TY_(PutUTF8)( tmbstr buf, uint c ); #define UNICODE_BOM_UTF8 0xEFBBBF /* UTF-8 UNICODE BOM */ -Bool TY_(IsValidUTF16FromUCS4)( tchar ucs4 ); -Bool TY_(IsHighSurrogate)( tchar ch ); -Bool TY_(IsLowSurrogate)( tchar ch ); +TY_PRIVATE Bool TY_(IsValidUTF16FromUCS4)( tchar ucs4 ); +TY_PRIVATE Bool TY_(IsHighSurrogate)( tchar ch ); +TY_PRIVATE Bool TY_(IsLowSurrogate)( tchar ch ); -Bool TY_(IsCombinedChar)( tchar ch ); -Bool TY_(IsValidCombinedChar)( tchar ch ); +TY_PRIVATE Bool TY_(IsCombinedChar)( tchar ch ); +TY_PRIVATE Bool TY_(IsValidCombinedChar)( tchar ch ); -tchar TY_(CombineSurrogatePair)( tchar high, tchar low ); -Bool TY_(SplitSurrogatePair)( tchar utf16, tchar* high, tchar* low ); +TY_PRIVATE tchar TY_(CombineSurrogatePair)( tchar high, tchar low ); +TY_PRIVATE Bool TY_(SplitSurrogatePair)( tchar utf16, tchar* high, tchar* low ); From 97e41772186a283426ab1561905d08c39d98766b Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Sat, 10 Jul 2021 11:19:54 -0400 Subject: [PATCH 177/182] Version bump due to API changes. --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index 9bb1595..b05bab9 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.60 +5.7.61 2021.07.10 From b22e30122609928d9eec31666ddd99530bbe312d Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Sat, 10 Jul 2021 13:26:25 -0400 Subject: [PATCH 178/182] Fixes #743. --- CMakeLists.txt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 677f08a..699959e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,7 @@ if (LIBTIDY_VERSION) list(GET VERSION_LIST 0 TIDY_MAJOR_VERSION) list(GET VERSION_LIST 1 TIDY_MINOR_VERSION) list(GET VERSION_LIST 2 TIDY_POINT_VERSION) + set(TIDY_SO_VERSION "${TIDY_MAJOR_VERSION}${TIDY_MINOR_VERSION}") else () message(FATAL_ERROR "*** FAILED to get a VERSION from version.txt!") endif () @@ -68,6 +69,21 @@ else () message(FATAL_ERROR "*** FAILED to get a DATE from version.txt!") endif () +# Establish SOVERSION. Tidy uses a weird form of semantic versioning, +# wherein even minor versions are stable versions with SONAMEs, and +# odd minor versions are `next` versions that should NOT be released, +# are NOT stable, and should NOT have a valid SONAME. +if (TIDY_SO_VERSION) + math(EXPR NO_SONAME "${TIDY_SO_VERSION} % 2") + if ( NO_SONAME EQUAL 0) + message("-> TIDY_SO_VERSION = ${TIDY_SO_VERSION}. This is an EVEN (stable) release.") + else () + message("-> TIDY_SO_VERSION = ${TIDY_SO_VERSION}. This is an ODD (development) release.") + endif () +else () + message(FATAL_ERROR "*** FAILED to build a TIDY_SO_VERSION!") +endif () + #------------------------------------------------------------------------ # Library Types and Linking @@ -420,7 +436,8 @@ if (BUILD_SHARED_LIB) OUTPUT_NAME ${LIB_NAME} ) set_target_properties( ${name} PROPERTIES VERSION ${LIBTIDY_VERSION} - SOVERSION ${TIDY_MAJOR_VERSION} ) + SOVERSION ${TIDY_SO_VERSION} + NO_SONAME ${NO_SONAME} ) set_target_properties( ${name} PROPERTIES COMPILE_FLAGS "-DBUILD_SHARED_LIB -DBUILDING_SHARED_LIB") install(TARGETS ${name} From 0db7e9da59e222aca4ace65e5e15c3be3d408711 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Sat, 10 Jul 2021 13:30:09 -0400 Subject: [PATCH 179/182] Version bump due to binary differences. --- version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.txt b/version.txt index b05bab9..8443c17 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.61 +5.7.62 2021.07.10 From ee6cbb6f98150ba846a755517e20808a044620c3 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Sat, 10 Jul 2021 15:14:27 -0400 Subject: [PATCH 180/182] Documentation update. No version bump. --- README/BUILD.md | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) diff --git a/README/BUILD.md b/README/BUILD.md index 60d441c..576fffe 100644 --- a/README/BUILD.md +++ b/README/BUILD.md @@ -19,24 +19,44 @@ In Windows CMake offers various versions for MSVC. Again below only the command ## Build the tidy library and command line tool - 1. `cd build/cmake` +### macOS/Linux/Unix - 2. `cmake ../.. -DCMAKE_BUILD_TYPE=Release [-DCMAKE_INSTALL_PREFIX=/path/for/install]` +~~~ + cd build/cmake + cmake ../.. -DCMAKE_BUILD_TYPE=Release [-DCMAKE_INSTALL_PREFIX=/path/for/install] + make + [sudo] make install +~~~ - 3. Windows: `cmake --build . --config Release` - Unix/OS X: `make` +### macOS (multi-architecture) - 4. Install, if desired: - Windows: `cmake --build . --config Release --target INSTALL` - Unix/OS X: `[sudo] make install` +~~~ + cd build/cmake + cmake ../.. -DCMAKE_BUILD_TYPE=Release "-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64" + make + [sudo] make install +~~~ -By default cmake sets the install path to `/usr/local/bin` in Unix. If you wanted the binary in say `/usr/bin` instead, then in 2. above use `-DCMAKE_INSTALL_PREFIX=/usr`. +### Windows -Also, in Unix if you want to build the release library without any debug `assert` in the code then add `-DCMAKE_BUILD_TYPE=Release` in step 2. This adds a `-DNDEBUG` macro to the compile switches. This is normally added in windows build for the `Release` config. +~~~ + cd build/cmake + cmake ../.. -DCMAKE_BUILD_TYPE=Release [-DCMAKE_INSTALL_PREFIX=/path/for/install] + cmake --build . --config Release + cmake --build . --config Release --target INSTALL +~~~ + +### Build options + +By default cmake sets the install path to `/usr/local/bin` in Unix. If you wanted the binary in say `/usr/bin` instead, then in the second step, use `-DCMAKE_INSTALL_PREFIX=/usr`. + +Also, in Unix if you want to build the release library without any debug `assert` in the code then add `-DCMAKE_BUILD_TYPE=Release` in the second step. This adds a `-DNDEBUG` macro to the compile switches. This is normally added in windows build for the `Release` config. In Windows the default install is to `C:\Program Files\tidy`, or `C:/Program Files (x86)/tidy`, which is not very useful. After the build the `tidy.exe` is in the `Release` directory, and can be copied to any directory in your `PATH` environment variable for global use. -If you do **not** need the tidy library built as a 'shared' (DLL) library, then in 2. add the command `-DBUILD_SHARED_LIB:BOOL=OFF`. This option is **ON** by default. The static library is always built and linked with the command line tool for convenience in Windows, and so the binary can be run as part of the man page build without the shared library being installed in unix. +On macOS, you can build for both Intel and Apple Silicon by adding "-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64" in the second step. + +If you do **not** need the tidy library built as a 'shared' (DLL) library, then in the second step add the command `-DBUILD_SHARED_LIB:BOOL=OFF`. This option is **ON** by default. The static library is always built and linked with the command line tool for convenience in Windows, and so the binary can be run as part of the man page build without the shared library being installed in unix. See the `CMakeLists.txt` file for other CMake **options** offered. From 3838bf1c06c8710c88022a85f79afa31681aae93 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Sat, 10 Jul 2021 16:42:58 -0400 Subject: [PATCH 181/182] Updated RELEASE.md instructions. No version bump. --- README/RELEASE.md | 208 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 174 insertions(+), 34 deletions(-) diff --git a/README/RELEASE.md b/README/RELEASE.md index 192a89c..497e161 100644 --- a/README/RELEASE.md +++ b/README/RELEASE.md @@ -1,46 +1,186 @@ -# HTACG HTML Tidy +HTML Tidy Release Process Single Point Lesson (SPL) +=================================================== -The **Release Process** is made up of many little steps. These have been documented before in issues like [394-1](https://github.com/htacg/tidy-html5/issues/394#issuecomment-206952915), and [394-2](https://github.com/htacg/tidy-html5/issues/394#issuecomment-207814834), and others, but this is to further **document** the process... +Purpose +------- +This lesson documents how to release a new, officially released version of HTML Tidy. Following the steps in this SPL ensures consistency between releases and results in a predictable experience for the end users of HTML Tidy. -This assumes the current `next` branch is version 5.7.XXX. See VERSION.md for chosen version scheme. -## Release Process for 5.8.0 +Definition +---------- +HTACG HTML Tidy is a library and console application, and the release process is intended to officially designate a point of stability, where "stability" is ABI and API stability. "Stability" is represented by an even minor version number, and "released" means the HTACG has published and made available an even minor version number version of HTML Tidy. + +Due to the number of platforms and language bindings which have adopted HTML Tidy, we are highly dependent on package managers to track the latest release versions of HTML Tidy, and release it on these other platforms. We cannot maintain distributions and language bindings for your favorite operating system or language package manager. + + +Release Process Overview +------------------------ +The release process consists largely of the following steps: ### Lead up: - - Create the next release milestone, 5.10, if not already done... - - Decide on PR's to include, bumping version.txt, accordingly... - - Decide on any show-stopper outstanding issues, and action... - - Change milestone of all excluded this time issues to the next 5.10 milestone, or to indefinite... - - Decide target date for release... - -### The Release: - - 1. Update version.txt to 5.8.0, and date... commit - 2. Create branch, `$ git checkout -b release/5.8` - 3. Update README/vershist.log... perl script... commit - 4. Add `$ git tag 5.8.0` - 5. Publish `$ git push -u origin release/5.8 --tags` - 6. Generate release 5.8.0.html... perl script... copy to... - 7. Create Github release v5.8.0 - becomes [Latest Release](https://github.com/htacg/tidy-html5/releases) - 8. Other things? - - Generate release binaries - - Add [binaries](http://binaries.html-tidy.org/) - - Add api [docs](http://api.html-tidy.org/#part_apiref) - - Update web pages [html-tidy.org](http://www.html-tidy.org/) + - Create the next release milestone on Github if not already done. + - Decide on PR's to include in the release, bumping version.txt, accordingly. + - Decide on any show-stopper outstanding issues, and action them. + - Change milestone of all excluded-this-time issues to the next milestone, or to indefinite. + - Decide target date for release. -### Post: +### Release: - - Update `master` branch to `release` - - Update `next` version.txt to 5.9.0, open for new fixes... - - Add more binaries... +- Update the version number to the next release version, e.g., from 5.5.xx to 5.6.0. +- Generate a change log. +- Push this change to `next`. +- Merge this branch to `master`. +- Tag the release on `master`. +- Update the version number of the `next` branch to the next development version, e.g., from 5.8.0 to 5.9.0. At this point, both versions are identical except for the version number. +- Generate the API documentation for `next`. +- Generate the API documentation for `master`. +- Update the https://api.html-tidy.org/ website with the new API documentation. +- Update the https://www.html-tidy.org/ website with the new release version. +- Update the https://binaries.html-tidy.org/ website. +- Push all of the changes. +- Build binaries. +- Create a Github release per the Git tag created above. +- Post the binaries in the release. -## Notes on `Release Process`: - -This **HTACG HTML Tidy** `official` release process must be supplemented with distribution by others. -Of course, if possible, we recomend building tidy from the git source, it is easy, but also in some OS'es others offer distribution in various ways... +Release Steps in Detail +-------------------------- -See [Get Tidy](http://www.html-tidy.org/#homepage19700601get_tidy) - This page really needs expanding. There are some suggestions pending, and more feedback welcome... +### Update the version number to the next release version -; eof +In the `next` branch, modify the `version.txt` file to the next release version, for example, 5.8.0, and set the date. + + +### Generate a change log + +If necessary, install the `github_changelog_generator`. This requires that you have a Ruby environment on your computer, which you probably do because the regression tests require it. + +~~~ +gem install github_changelog_generator +~~~ + +You’ll also need a Github personal access token in order for the tool to pull information from Github. You can acquire one [here](https://github.com/settings/tokens). + +Generate the change log like so: + +~~~ +github_changelog_generator -u htacg -p tidy-html5 \ + --token [github_access_token] \ + --since-tag 5.6.0 \ + --usernames-as-github-logins \ + --future-release 5.8.0 \ + -o README/testlog.md +~~~ + +**Important**: the `--since-tag` value should be the git tag of the previous release, because we're only interested in the changes since then. The `--future-release` value should be the git tag that you _will apply_ (but have not yet) for this release. + + +### Commit this change to `next` + +~~~ +git add . +git commit -m 'Releasing HTML Tidy 5.8.0' +~~~ + + +### Merge this branch to `master` + +~~~ +git checkout master +git merge next +~~~ + + +### Tag the release on `master` + +~~~ +git tag -a 5.8.0 -m "HTML Tidy version 5.8.0" +~~~ + + +### Update the version number of the `next` branch + +For example, from from 5.8.0 to 5.9.0. At this point, both versions are identical except for the version number. Edit the `version.txt` file to make this change, and then +commit it to the repository. + +### Generate the API documentation for `next` + +First, build the `next` binary in `build/cmake`, so that API documentation tools have a correct version of HTML Tidy to work with. Perform a `git clean -xdf` in this directory prior to building for good measure. + +After building, `cd` to the correct directory and build the documentation: + +~~~ +cd html-tidy.org.api/tidy-html5-doxygen +./build_docs.sh +~~~ + +Then in the `html-tidy.org.api/tidy-html5-doxygen/output` directory, rename the resulting directory and file to `tidylib_api_next/` and `quickref_next.html`, and move them into `html-tidy.org.api/tidy/`. + + +### Generate the API documentation for `master` + +First, checkout `master` build the binary in `build/cmake`, so that API documentation tools have a correct version of HTML Tidy to work with. Perform a `git clean -xdf` in this directory prior to building for good measure. + +After building, `cd` to the correct directory and build the documentation: + +~~~ +cd html-tidy.org.api/tidy-html5-doxygen +./build_docs.sh +~~~ + +Move the resulting directory and file into `html-tidy.org.api/tidy/` directly. + +### Update the https://api.html-tidy.org/ website with the new API documentation + +Check the copyright dates in `_includes/footer.md`. + +~~~ +cd html-tidy.org.api/ +git add . +git commit -m "Added API documentation for master and next." +git push +~~~ + +### Update the https://www.html-tidy.org/ website with the new release version + +Check the copyright dates in `_includes/footer.md`. + +Update `html-tidy.org/homepage/_posts/1970-01-01-htmltidy.md` for the current release version and release year. + +~~~ +cd html-tidy.org/ +git add . +git commit -m "Added API documentation for master and next." +git push +~~~ + + +### Push all of the changes + +Back in `tidy-html5/` + +~~~ +git checkout master +git push +git push origin <tag_name> +git checkout next +git push +~~~ + + +### Build binaries + +This is OS specific. + +### Create a Github release per the Git tag created above + +Do this on Github. + +### Post the binaries in the release + +Post the binaries here. + +### Update the https://binaries.html-tidy.org/ website + +Modify the files to point to the binaries in the Github releases. From 1d840aae38bc025b5835eb9ea4ffb93eb2971687 Mon Sep 17 00:00:00 2001 From: Jim Derry <balthisar@gmail.com> Date: Sat, 10 Jul 2021 16:52:01 -0400 Subject: [PATCH 182/182] Releasing HTML Tidy 5.8.0 --- README/CHANGELOG.md | 246 ++++++++++++++++++++++++++++++++++++++++++++ README/RELEASE.md | 2 +- README/verhist.log | 216 -------------------------------------- version.txt | 2 +- 4 files changed, 248 insertions(+), 218 deletions(-) create mode 100644 README/CHANGELOG.md delete mode 100644 README/verhist.log diff --git a/README/CHANGELOG.md b/README/CHANGELOG.md new file mode 100644 index 0000000..c986224 --- /dev/null +++ b/README/CHANGELOG.md @@ -0,0 +1,246 @@ +# Changelog + +## [5.8.0](https://github.com/htacg/tidy-html5/tree/5.8.0) (2021-07-10) + +[Full Changelog](https://github.com/htacg/tidy-html5/compare/5.6.0...5.8.0) + +**Fixed bugs:** + +- Details open, Value added to Attribute [\#925](https://github.com/htacg/tidy-html5/issues/925) +- Fix handling of percent symbols in CheckLength validation routine [\#910](https://github.com/htacg/tidy-html5/issues/910) +- What is the true purpose and use case of the --bare option? [\#896](https://github.com/htacg/tidy-html5/issues/896) +- Warning about missing \</summary\> [\#895](https://github.com/htacg/tidy-html5/issues/895) +- DecodeMacRoman\(\) is missing an upper bounds check before indexing into Mac2Unicode array [\#891](https://github.com/htacg/tidy-html5/issues/891) +- Can't disable wrap [\#858](https://github.com/htacg/tidy-html5/issues/858) +- Recursion limit exceeded [\#850](https://github.com/htacg/tidy-html5/issues/850) +- template tag should be allowed in head [\#836](https://github.com/htacg/tidy-html5/issues/836) +- tag\_defs + AdjustTags\(\) and ResetTags\(\) during parsing is not thread-safe \(tags.c\) [\#816](https://github.com/htacg/tidy-html5/issues/816) +- Unexpected parsing with uppercase DOCTYPE [\#815](https://github.com/htacg/tidy-html5/issues/815) +- bugfix for messageobj.c for windows vc++ [\#800](https://github.com/htacg/tidy-html5/issues/800) +- Tidy 5.7.20 GetSurrogatePair can use uninitialised value processing malformed entity refs [\#798](https://github.com/htacg/tidy-html5/issues/798) +- regression tests fail if /etc/tidy.conf or ~/.tidyrc exists [\#778](https://github.com/htacg/tidy-html5/issues/778) +- AddByte allocAmt overflows for large input files [\#761](https://github.com/htacg/tidy-html5/issues/761) +- --strict-tags-attributes no doesn't ignore \<td align\> [\#729](https://github.com/htacg/tidy-html5/issues/729) +- "Too many title elements in \<title\>" should say "Too many title elements in \<head\>" [\#692](https://github.com/htacg/tidy-html5/issues/692) +- Tidy 5.6.0 on Mac says Not a file when file is not writeable [\#681](https://github.com/htacg/tidy-html5/issues/681) +- Tidy fails if html contains a section \<!\[endif\]—\> [\#487](https://github.com/htacg/tidy-html5/issues/487) +- "Malformed" Word 2000 sequence may cause Tidy to skip document content [\#462](https://github.com/htacg/tidy-html5/issues/462) +- Change open tag to Boolean [\#932](https://github.com/htacg/tidy-html5/pull/932) (@arrmo) +- Is \#729 - Show 'warnings' in all td cases [\#928](https://github.com/htacg/tidy-html5/pull/928) (@geoffmcl) +- Issue \#692 - too many titles [\#927](https://github.com/htacg/tidy-html5/pull/927) (@geoffmcl) +- Is. \#681 - read-only files, and dirs [\#926](https://github.com/htacg/tidy-html5/pull/926) (@geoffmcl) +- Free attributes before return NULL [\#899](https://github.com/htacg/tidy-html5/pull/899) (@ltx2018) +- Is. \#896 - make 'bear' docs match code [\#898](https://github.com/htacg/tidy-html5/pull/898) (@geoffmcl) +- Correction for issue-895 [\#897](https://github.com/htacg/tidy-html5/pull/897) (@arrmo) +- fix memleak in GetTokenFromStream [\#884](https://github.com/htacg/tidy-html5/pull/884) (@ltx2018) +- Protect against NULL in PruneSection. [\#853](https://github.com/htacg/tidy-html5/pull/853) (@esclim) +- Is \#815 - Use case-insensitive test 'html' [\#832](https://github.com/htacg/tidy-html5/pull/832) (@geoffmcl) +- Is. \#761 - just deal with the 'uint' wrap [\#830](https://github.com/htacg/tidy-html5/pull/830) (@geoffmcl) +- Tidy 5.7.20 crashes if allocator replaced [\#797](https://github.com/htacg/tidy-html5/issues/797) +- --mute should suppress non-zero exit code [\#794](https://github.com/htacg/tidy-html5/issues/794) +- Seems tidy.c has sprung a leak [\#791](https://github.com/htacg/tidy-html5/issues/791) +- Cannot handle read-only html files \(possibly regression?\) [\#789](https://github.com/htacg/tidy-html5/issues/789) +- setlocale\( LC\_ALL, ""\) changes the locale for the entire application [\#770](https://github.com/htacg/tidy-html5/issues/770) +- mute in ~/.tidyrc runs fine but triggers exit\(1\) [\#752](https://github.com/htacg/tidy-html5/issues/752) +- Duplicate IDs are not detected if the ID has an uppercase letter [\#726](https://github.com/htacg/tidy-html5/issues/726) +- Tidy gets confused with a \<span\> around a block element [\#709](https://github.com/htacg/tidy-html5/issues/709) +- Tidy seems to get confused by HTML strings in JavaScript blocks. [\#700](https://github.com/htacg/tidy-html5/issues/700) +- tidy indent+wrap breaks \<pre\> formatting [\#697](https://github.com/htacg/tidy-html5/issues/697) +- -export-config creates invalid configuration file [\#679](https://github.com/htacg/tidy-html5/issues/679) +- Segmentation Fault [\#656](https://github.com/htacg/tidy-html5/issues/656) +- Maybe a problem with some vsnprintf implementations? [\#655](https://github.com/htacg/tidy-html5/issues/655) +- Why is libtidy complaining \<data\> isn’t approved by W3C? [\#649](https://github.com/htacg/tidy-html5/issues/649) +- Is. \#791 - free some allocations [\#809](https://github.com/htacg/tidy-html5/pull/809) (@geoffmcl) +- Issue 726 upper case anchors [\#731](https://github.com/htacg/tidy-html5/pull/731) (@geoffmcl) +- Is \#673 - Revert 350f7b4 and 86e62db AdjustConfig logic [\#705](https://github.com/htacg/tidy-html5/pull/705) (@geoffmcl) +- Issue \#655 - Fix unsafe use of output buffer as input param [\#662](https://github.com/htacg/tidy-html5/pull/662) (@geoffmcl) +- Issue \#656 - protect against NULL node set in loop [\#661](https://github.com/htacg/tidy-html5/pull/661) (@geoffmcl) + +**Closed issues:** + +- No NPM? [\#960](https://github.com/htacg/tidy-html5/issues/960) +- Where can I find the list of known tags? [\#958](https://github.com/htacg/tidy-html5/issues/958) +- fix non-standard static library name [\#952](https://github.com/htacg/tidy-html5/issues/952) +- Lot of config options; but where are the defaults specified [\#948](https://github.com/htacg/tidy-html5/issues/948) +- Any Windows Binaries for 5.7.28, just like 5.6? [\#947](https://github.com/htacg/tidy-html5/issues/947) +- Setup continuous integration and testing [\#944](https://github.com/htacg/tidy-html5/issues/944) +- Linux binaries for latest releases [\#939](https://github.com/htacg/tidy-html5/issues/939) +- Outdated warnings [\#938](https://github.com/htacg/tidy-html5/issues/938) +- Umlauts/special characters not converted to correct html entities [\#936](https://github.com/htacg/tidy-html5/issues/936) +- tidy hanging [\#935](https://github.com/htacg/tidy-html5/issues/935) +- Tidy catches repeated attributes, but misses identical ids [\#924](https://github.com/htacg/tidy-html5/issues/924) +- drop-empty-elements is not removing empty Table elements [\#923](https://github.com/htacg/tidy-html5/issues/923) +- Tag "main" is shown as error [\#922](https://github.com/htacg/tidy-html5/issues/922) +- Unexpected parsing a tag in table [\#919](https://github.com/htacg/tidy-html5/issues/919) +- beginner on windows -- tidy reports: document: "a0.htm" is not a file! -- But it is [\#918](https://github.com/htacg/tidy-html5/issues/918) +- tidy says this misplaced \</dl\> is OK [\#917](https://github.com/htacg/tidy-html5/issues/917) +- Tidy can't deal with \<中文\> XML tags [\#913](https://github.com/htacg/tidy-html5/issues/913) +- Support extended color names in HTML 5 [\#908](https://github.com/htacg/tidy-html5/issues/908) +- Unknown type uint trying to use the shared lib. [\#906](https://github.com/htacg/tidy-html5/issues/906) +- \</select\> ending tag missing [\#904](https://github.com/htacg/tidy-html5/issues/904) +- SVG attributes flagged as proprietary [\#903](https://github.com/htacg/tidy-html5/issues/903) +- tidy-mark option is not working [\#901](https://github.com/htacg/tidy-html5/issues/901) +- Need help controlling output [\#894](https://github.com/htacg/tidy-html5/issues/894) +- Say how to deal with XHTML input [\#893](https://github.com/htacg/tidy-html5/issues/893) +- Help output refers to a non-existent -options option [\#892](https://github.com/htacg/tidy-html5/issues/892) +- Tidy gets confused with u tags and underline styles [\#890](https://github.com/htacg/tidy-html5/issues/890) +- how to forbid auto insert tag? [\#889](https://github.com/htacg/tidy-html5/issues/889) +- Incorrectly changing — to - \(emdash \[alt 0151\]\) to hypens. [\#885](https://github.com/htacg/tidy-html5/issues/885) +- html-tidy site does not work with https [\#883](https://github.com/htacg/tidy-html5/issues/883) +- Use with TextPad 8 [\#882](https://github.com/htacg/tidy-html5/issues/882) +- Translation: TidyKeepTabs [\#880](https://github.com/htacg/tidy-html5/issues/880) +- \<img\> proprietary attribute "loading" [\#879](https://github.com/htacg/tidy-html5/issues/879) +- Versioning seems a bit off [\#877](https://github.com/htacg/tidy-html5/issues/877) +- --quote-ampersand yes doesn't work [\#876](https://github.com/htacg/tidy-html5/issues/876) +- Convert spaces to non-breaking space [\#875](https://github.com/htacg/tidy-html5/issues/875) +- Tidy 5.6.0 mangled html / php code. [\#872](https://github.com/htacg/tidy-html5/issues/872) +- Even with -utf8 tidy replaces UTF8 code U+00A0 into numeric entity &\#160; [\#871](https://github.com/htacg/tidy-html5/issues/871) +- http-equiv metas should trigger helpful upgrade messages [\#868](https://github.com/htacg/tidy-html5/issues/868) +- HTML Tidy website does not render propertly when using HTTPS [\#867](https://github.com/htacg/tidy-html5/issues/867) +- \[-Wignored-qualifiers\] warning in tidy [\#866](https://github.com/htacg/tidy-html5/issues/866) +- Wrong character encoding [\#863](https://github.com/htacg/tidy-html5/issues/863) +- Missing semicolon after html entity sometimes returns generic 'unknown entity' warning instead of specific 'missing semicolon' [\#862](https://github.com/htacg/tidy-html5/issues/862) +- Warning: unescaped & or unknown entity "&P" when encoding as utf-8 [\#861](https://github.com/htacg/tidy-html5/issues/861) +- Tidy output clutter [\#857](https://github.com/htacg/tidy-html5/issues/857) +- Trailing backspace removed [\#856](https://github.com/htacg/tidy-html5/issues/856) +- Only wrap at tags [\#854](https://github.com/htacg/tidy-html5/issues/854) +- ENABLE\_DEBUG\_LOG is ignored on Windows [\#852](https://github.com/htacg/tidy-html5/issues/852) +- Kill off alphabetical ordering clause for publicly-exposed enum defs [\#851](https://github.com/htacg/tidy-html5/issues/851) +- For Sublime Text 3 [\#849](https://github.com/htacg/tidy-html5/issues/849) +- \<li\> tags skipped in tidy result shown on screen [\#847](https://github.com/htacg/tidy-html5/issues/847) +- man page missing header causing appending to XML discussion [\#846](https://github.com/htacg/tidy-html5/issues/846) +- \<input type="file"\> needs name= [\#845](https://github.com/htacg/tidy-html5/issues/845) +- Expose node-\>last in the public API [\#844](https://github.com/htacg/tidy-html5/issues/844) +- Support EJS? [\#842](https://github.com/htacg/tidy-html5/issues/842) +- Tidy 5.2 cleaned up curly quotes but 5.6 doesn't [\#841](https://github.com/htacg/tidy-html5/issues/841) +- Jekyll headings removed [\#840](https://github.com/htacg/tidy-html5/issues/840) +- Should tidy allow an empty title element? [\#839](https://github.com/htacg/tidy-html5/issues/839) +- Missing tags for 5.7.\* [\#834](https://github.com/htacg/tidy-html5/issues/834) +- Python binding? [\#826](https://github.com/htacg/tidy-html5/issues/826) +- Self-closing tags are not correctly recognized [\#813](https://github.com/htacg/tidy-html5/issues/813) +- Different output when parsing HTML [\#790](https://github.com/htacg/tidy-html5/issues/790) +- Continuously fuzzing tidy-html5 with OSS-Fuzz [\#788](https://github.com/htacg/tidy-html5/issues/788) +- I18N isn't working \(mostly\) via changing the environment variables [\#783](https://github.com/htacg/tidy-html5/issues/783) +- 5.6.0 and breakage with php-tidy [\#780](https://github.com/htacg/tidy-html5/issues/780) +- Tidy needs a changelog [\#776](https://github.com/htacg/tidy-html5/issues/776) +- TidyNodeGetText returns text with a new line appended [\#775](https://github.com/htacg/tidy-html5/issues/775) +- Breaks microseconds after call tidy\_repair\_string [\#771](https://github.com/htacg/tidy-html5/issues/771) +- Typos in language\_en.h, etc [\#765](https://github.com/htacg/tidy-html5/issues/765) +- Document accessibility priority numbers better [\#756](https://github.com/htacg/tidy-html5/issues/756) +- Xcode not working with tidylib [\#751](https://github.com/htacg/tidy-html5/issues/751) +- Intent-To-Package: Snaps are Universal Linux Packages [\#748](https://github.com/htacg/tidy-html5/issues/748) +- Can't parse UTF16 html string [\#744](https://github.com/htacg/tidy-html5/issues/744) +- libtidy.so.5 has removed symbols between 5.2.0 and 5.6.0, but kept SONAME [\#743](https://github.com/htacg/tidy-html5/issues/743) +- Tidy 5.7.16 -\> empty result [\#740](https://github.com/htacg/tidy-html5/issues/740) +- Crash with malformed \<meta\> tag [\#739](https://github.com/htacg/tidy-html5/issues/739) +- bug\(encoding\): non-ASCII characters in configuration file [\#737](https://github.com/htacg/tidy-html5/issues/737) +- Improve documentation re: wrap-script-literals [\#736](https://github.com/htacg/tidy-html5/issues/736) +- feature\_request\(validation\): “preserve-entities yes” by default [\#732](https://github.com/htacg/tidy-html5/issues/732) +- Tidy emits warnings that aren't in order [\#696](https://github.com/htacg/tidy-html5/issues/696) +- Option to disable tidy code fixing option [\#693](https://github.com/htacg/tidy-html5/issues/693) +- tidy change html view when deal with white-space:pre tag [\#685](https://github.com/htacg/tidy-html5/issues/685) +- CLI option to stop insertion/deletion of tags [\#682](https://github.com/htacg/tidy-html5/issues/682) +- Tidy does not strip leading and trailing spaces in HTML href [\#678](https://github.com/htacg/tidy-html5/issues/678) +- Use tidy with json custom attributes on custom components [\#677](https://github.com/htacg/tidy-html5/issues/677) +- \[Question\] How to use tidy for multiple files? [\#668](https://github.com/htacg/tidy-html5/issues/668) +- How to run a test-kit from terminal? [\#667](https://github.com/htacg/tidy-html5/issues/667) +- Dependency on DLLs not Documented [\#666](https://github.com/htacg/tidy-html5/issues/666) +- tidylib.c fails to compile on Visual Studio 2010 [\#665](https://github.com/htacg/tidy-html5/issues/665) +- Minify HTML [\#628](https://github.com/htacg/tidy-html5/issues/628) +- Do not insert newlines into TEXT when wrapping! [\#625](https://github.com/htacg/tidy-html5/issues/625) +- Configuration Options "cleanup" [\#609](https://github.com/htacg/tidy-html5/issues/609) +- Next Release 5.6.0 [\#600](https://github.com/htacg/tidy-html5/issues/600) +- anchor-as-name: false replaces name attribute of a form tag with id attribute [\#571](https://github.com/htacg/tidy-html5/issues/571) +- Why does tidy format the '\<' and '\>' numeric operator? [\#485](https://github.com/htacg/tidy-html5/issues/485) +- span with display: inline-block is treated as inline [\#448](https://github.com/htacg/tidy-html5/issues/448) +- wrap-php multiple lines [\#437](https://github.com/htacg/tidy-html5/issues/437) +- Option to always encode double ampersands [\#827](https://github.com/htacg/tidy-html5/issues/827) +- \[ENH\] Add meta options to disable/enable cleanup and repair option [\#819](https://github.com/htacg/tidy-html5/issues/819) +- --vertical-space yes adds too much after comment [\#811](https://github.com/htacg/tidy-html5/issues/811) +- Line breaking on "|" [\#810](https://github.com/htacg/tidy-html5/issues/810) +- Installs library in /usr/local/lib/lib instead of /usr/local/lib [\#807](https://github.com/htacg/tidy-html5/issues/807) +- Publishing in VS2015 - System.DllNotFoundException [\#804](https://github.com/htacg/tidy-html5/issues/804) +- can not fix script async Attr to async="async" [\#799](https://github.com/htacg/tidy-html5/issues/799) +- Feature Request: Omit boilerplate [\#795](https://github.com/htacg/tidy-html5/issues/795) +- html conversion to xml leaves many tags unclosed [\#792](https://github.com/htacg/tidy-html5/issues/792) +- NppTidy 5.6.0 quickref.html link broken - please fix [\#787](https://github.com/htacg/tidy-html5/issues/787) +- Redundant blank lines when printing -help [\#781](https://github.com/htacg/tidy-html5/issues/781) +- --css-prefix option no longer adds a hyphen to its built classes [\#777](https://github.com/htacg/tidy-html5/issues/777) +- Build error on Android \(Termux\): unknown type name 'ulong' [\#773](https://github.com/htacg/tidy-html5/issues/773) +- alter default config file processing [\#772](https://github.com/htacg/tidy-html5/issues/772) +- Tidy output going to stderr [\#763](https://github.com/htacg/tidy-html5/issues/763) +- --tidy-mark no inserts blank line [\#760](https://github.com/htacg/tidy-html5/issues/760) +- tidy -access: \<doctype\> NOT missing [\#758](https://github.com/htacg/tidy-html5/issues/758) +- type qualifiers ignored on function return type \[-Werror=ignored-qualifiers\] [\#746](https://github.com/htacg/tidy-html5/issues/746) +- tidy dies on unexpected character [\#745](https://github.com/htacg/tidy-html5/issues/745) +- tidy 5.6.0 warning `inserting missing 'title' element` appears in php-only files [\#728](https://github.com/htacg/tidy-html5/issues/728) +- bug\(build\): tidyBufAppend\(&buf1, d-\>def, strlen\(d-\>def\)\); [\#721](https://github.com/htacg/tidy-html5/issues/721) +- Allow specify ranges of code that do not get checked [\#720](https://github.com/htacg/tidy-html5/issues/720) +- README/CONTRIBUTING.md [\#718](https://github.com/htacg/tidy-html5/issues/718) +- tidy's error messages should include filename somewhere [\#713](https://github.com/htacg/tidy-html5/issues/713) +- Tidy does not complain about valign in \<tr\>, \<th\> or \<td\> [\#711](https://github.com/htacg/tidy-html5/issues/711) +- tidy converts '&' in query parameters \(&aen=true =\> &amp;aen=true\) in relative paths [\#710](https://github.com/htacg/tidy-html5/issues/710) +- TidyHtml not working properly in C++ [\#707](https://github.com/htacg/tidy-html5/issues/707) +- Unescaped `&` emitted despite using \*\*output-xhtml\*\* key bindings in 5.6.0 in PHP bindings [\#704](https://github.com/htacg/tidy-html5/issues/704) +- How to ignore specific warnings [\#699](https://github.com/htacg/tidy-html5/issues/699) +- Mention the need for a `:` before options' value in the configuration file [\#698](https://github.com/htacg/tidy-html5/issues/698) +- Tidy 5.6.0 -\> bug with pre tag [\#690](https://github.com/htacg/tidy-html5/issues/690) +- Is there any way to remove inline styles? [\#689](https://github.com/htacg/tidy-html5/issues/689) +- feature request\(safari\): Pinned Tab Icons support [\#686](https://github.com/htacg/tidy-html5/issues/686) +- Adopt Cygwin tidy package [\#680](https://github.com/htacg/tidy-html5/issues/680) +- Clarification on releases / release tarballs missing [\#676](https://github.com/htacg/tidy-html5/issues/676) +- --fix-uri no does not turn off check [\#675](https://github.com/htacg/tidy-html5/issues/675) +- Unexpected behavior of 'add-xml-space' setting when used with 'wrap' =\> 0 and saveBuffer is called twice in tidy-html5 5.6.0 [\#673](https://github.com/htacg/tidy-html5/issues/673) +- show-body-only [\#672](https://github.com/htacg/tidy-html5/issues/672) +- Tidy deletes empty tags [\#669](https://github.com/htacg/tidy-html5/issues/669) +- unbalanced \#endif's [\#663](https://github.com/htacg/tidy-html5/issues/663) +- Feature request: option to replace inline styles with classes + `<style>` tag styles [\#638](https://github.com/htacg/tidy-html5/issues/638) +- Windows 32-bit XP Release [\#568](https://github.com/htacg/tidy-html5/issues/568) +- Release an updated HTML::Tidy perl library [\#562](https://github.com/htacg/tidy-html5/issues/562) +- \<Script\> tag gets removed [\#528](https://github.com/htacg/tidy-html5/issues/528) +- Word filtered html doesn't convert accents to utf8 [\#512](https://github.com/htacg/tidy-html5/issues/512) +- option to ignore attribute-errors if attribute contains pseudo-elements [\#505](https://github.com/htacg/tidy-html5/issues/505) +- Allow \<div\> inside \<pre\> [\#479](https://github.com/htacg/tidy-html5/issues/479) + +**Merged pull requests:** + +- Fixes \#743. [\#966](https://github.com/htacg/tidy-html5/pull/966) (@balthisar) +- Fixed merge conflict; fixed non-build issue on macOS. RC for testing. [\#965](https://github.com/htacg/tidy-html5/pull/965) (@balthisar) +- README.md: add Wikidata link [\#961](https://github.com/htacg/tidy-html5/pull/961) (@vitaly-zdanevich) +- Fix issues with user-specified settings changing [\#959](https://github.com/htacg/tidy-html5/pull/959) (@balthisar) +- Automated Testing [\#957](https://github.com/htacg/tidy-html5/pull/957) (@balthisar) +- simple fix for the range of the condition. [\#953](https://github.com/htacg/tidy-html5/pull/953) (@ihsinme) +- Add muted and playsinline video attributes for HTML5. [\#949](https://github.com/htacg/tidy-html5/pull/949) (@drichardson) +- Add German Language [\#943](https://github.com/htacg/tidy-html5/pull/943) (@balthisar) +- Link macOS console application with required plist [\#942](https://github.com/htacg/tidy-html5/pull/942) (@balthisar) +- Is. \#839 - new message for 'blank' title [\#930](https://github.com/htacg/tidy-html5/pull/930) (@geoffmcl) +- Support extended color names in HTML 5 validation [\#914](https://github.com/htacg/tidy-html5/pull/914) (@cqcallaw) +- Fix percentage validation in CheckLength [\#912](https://github.com/htacg/tidy-html5/pull/912) (@cqcallaw) +- Add SVG paint attributes [\#907](https://github.com/htacg/tidy-html5/pull/907) (@cqcallaw) +- Is. \#879: add loading attribute for img, iframe [\#902](https://github.com/htacg/tidy-html5/pull/902) (@sidvishnoi) +- COMPILE\_FLAGS property only once per target, avoid overwriting. [\#886](https://github.com/htacg/tidy-html5/pull/886) (@SvenPStarFinanz) +- Complete pt\_br translation [\#881](https://github.com/htacg/tidy-html5/pull/881) (@hugotiburtino) +- Support the \<slot\> tag [\#848](https://github.com/htacg/tidy-html5/pull/848) (@lhchavez) +- Issue \#437 - re-use of 'wrap-php' option [\#645](https://github.com/htacg/tidy-html5/pull/645) (@geoffmcl) +- Change "tidyLocalMapItem" to "tidyLocaleMapItem" [\#829](https://github.com/htacg/tidy-html5/pull/829) (@MrSorcus) +- added OS \_\_ANDROID\_\_ in tidyplatform.h [\#823](https://github.com/htacg/tidy-html5/pull/823) (@naveedpash) +- Update BRANCHES.md [\#793](https://github.com/htacg/tidy-html5/pull/793) (@SConaway) +- Is. \#783 - Fix language detection [\#785](https://github.com/htacg/tidy-html5/pull/785) (@Lin-Buo-Ren) +- Is. \#781 - Drop redundant blank lines in -help [\#782](https://github.com/htacg/tidy-html5/pull/782) (@Lin-Buo-Ren) +- Issue 649 adding tag \<data\> [\#769](https://github.com/htacg/tidy-html5/pull/769) (@AntoniosHadji) +- Issue 752 [\#764](https://github.com/htacg/tidy-html5/pull/764) (@geoffmcl) +- PHP ≥ 7.1.0 recognizes tidy-html5 [\#762](https://github.com/htacg/tidy-html5/pull/762) (@cmb69) +- Fix typo [\#753](https://github.com/htacg/tidy-html5/pull/753) (@Lin-Buo-Ren) +- Fix extra const modifier [\#747](https://github.com/htacg/tidy-html5/pull/747) (@drizt) +- Is \#721 - cast away some gcc warnings [\#722](https://github.com/htacg/tidy-html5/pull/722) (@geoffmcl) +- Doc nits [\#717](https://github.com/htacg/tidy-html5/pull/717) (@ler762) +- Is \#709 - Improve message if 'implict' [\#714](https://github.com/htacg/tidy-html5/pull/714) (@geoffmcl) +- Make global attribute `dir` accept auto as well. [\#712](https://github.com/htacg/tidy-html5/pull/712) (@doronbehar) +- Is \#697 - Add NOWRAP to print of pre tag [\#708](https://github.com/htacg/tidy-html5/pull/708) (@geoffmcl) +- Is \#700 - change script parsing if in html5 mode [\#703](https://github.com/htacg/tidy-html5/pull/703) (@geoffmcl) +- Issue 698 - docs update [\#702](https://github.com/htacg/tidy-html5/pull/702) (@geoffmcl) +- Is \#686 - Add attr COLOR to W3CAttrsFor\_LINK [\#701](https://github.com/htacg/tidy-html5/pull/701) (@geoffmcl) +- Issue 679 [\#695](https://github.com/htacg/tidy-html5/pull/695) (@geoffmcl) +- Issue 663 - fixes for Haiku port [\#664](https://github.com/htacg/tidy-html5/pull/664) (@geoffmcl) + +\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)* diff --git a/README/RELEASE.md b/README/RELEASE.md index 497e161..b16c2bf 100644 --- a/README/RELEASE.md +++ b/README/RELEASE.md @@ -70,7 +70,7 @@ github_changelog_generator -u htacg -p tidy-html5 \ --since-tag 5.6.0 \ --usernames-as-github-logins \ --future-release 5.8.0 \ - -o README/testlog.md + -o README/CHANGELOG.md ~~~ **Important**: the `--since-tag` value should be the git tag of the previous release, because we're only interested in the changes since then. The `--future-release` value should be the git tag that you _will apply_ (but have not yet) for this release. diff --git a/README/verhist.log b/README/verhist.log deleted file mode 100644 index 0eec03a..0000000 --- a/README/verhist.log +++ /dev/null @@ -1,216 +0,0 @@ -# Version history at 2017/11/25 -5.6.0 b869049a9f Geoff McLane Sat Nov 25 14:50:00 2017 +0100 -5.5.86 87dbccdb1b Jim Derry Wed Nov 22 12:34:33 2017 -0500 -5.5.85 19e8796a5b Geoff McLane Wed Nov 22 15:01:44 2017 +0100 -5.5.84 c2c7b1dab2 Jim Derry Mon Nov 20 09:32:08 2017 -0500 -5.5.83 9e09f1a722 Jim Derry Mon Nov 20 09:29:51 2017 -0500 -5.5.82 302660e3cb Jim Derry Mon Nov 20 09:28:48 2017 -0500 -5.5.81 b91c728c81 Jim Derry Sun Nov 19 15:46:40 2017 -0500 -5.5.80 ac27e0c16e Jim Derry Fri Nov 17 21:52:26 2017 -0500 -5.5.79 f5dfd31a76 Jim Derry Fri Nov 17 21:30:40 2017 -0500 -5.5.78 18874e0b10 Jim Derry Fri Nov 17 20:38:45 2017 -0500 -5.5.77 d6414a69ae Geoff McLane Thu Nov 9 19:35:25 2017 +0100 -5.5.76 acd3c6c47e Jim Derry Wed Nov 1 15:07:03 2017 -0400 -5.5.75 9c4b040771 Jim Derry Sun Oct 29 15:05:53 2017 -0400 -5.5.74 7beb591cf7 Geoff McLane Sun Oct 29 18:32:41 2017 +0100 -5.5.73 b243e0f30a Jim Derry Thu Oct 26 19:19:56 2017 -0400 -5.5.72 6ffb71c2bc Jim Derry Thu Oct 26 14:26:53 2017 -0400 -5.5.71 504d2b3466 Jim Derry Wed Oct 25 19:59:14 2017 -0400 -5.5.70 4b1c048ee5 Jim Derry Fri Oct 20 07:46:00 2017 -0400 -5.5.69 a03ddc03a0 Jim Derry Thu Oct 19 20:33:17 2017 -0400 -5.5.68 492c9fb74b Jim Derry Thu Oct 19 20:11:26 2017 -0400 -5.5.67 a354eff596 Jim Derry Thu Oct 19 17:41:35 2017 -0400 -5.5.66 6dd7919d16 Jim Derry Thu Oct 19 17:38:33 2017 -0400 -5.5.65 b190e8724a Jim Derry Thu Oct 19 17:22:47 2017 -0400 -5.5.64 6309abacda Jim Derry Thu Oct 19 17:17:33 2017 -0400 -5.5.63 0f86647741 Geoff McLane Mon Oct 9 01:27:07 2017 +0200 -5.5.62 16aa474f6a Jim Derry Sun Oct 8 11:06:41 2017 -0400 -5.5.61 010892c020 Jim Derry Sat Oct 7 14:59:07 2017 -0400 -5.5.60 f26b198213 Jim Derry Sat Oct 7 14:07:12 2017 -0400 -5.5.59 4e6d76eb01 Jim Derry Fri Oct 6 09:41:54 2017 -0400 -5.5.58 f1cd84f853 Jim Derry Thu Oct 5 19:29:12 2017 -0400 -5.5.57 c71b8115cc Jim Derry Thu Oct 5 15:09:18 2017 -0400 -5.5.56 7d35bb14ef Jim Derry Wed Oct 4 11:15:45 2017 -0400 -5.5.55 084ed21735 Jim Derry Wed Oct 4 11:00:04 2017 -0400 -5.5.54 8f47c024ac Jim Derry Tue Oct 3 08:26:51 2017 -0400 -5.5.53 1e88cf2ebc Jim Derry Mon Oct 2 13:35:26 2017 -0400 -5.5.52 3efc0f92a5 Jim Derry Mon Oct 2 13:31:35 2017 -0400 -5.5.51 e959c22087 Jim Derry Mon Oct 2 13:27:42 2017 -0400 -5.5.50 4bcff9f64e Jim Derry Mon Oct 2 13:21:26 2017 -0400 -5.5.49 78b6154a85 Jim Derry Mon Oct 2 13:15:17 2017 -0400 -5.5.48 40ca09c189 Jim Derry Mon Oct 2 13:10:45 2017 -0400 -5.5.47 2860160b54 Jim Derry Sun Oct 1 10:42:18 2017 -0400 -5.5.46 d6c974b672 Jim Derry Fri Sep 29 10:23:45 2017 -0400 -5.5.45 021d32b3a1 Jim Derry Mon Sep 25 21:17:21 2017 -0400 -5.5.44 cd9d46b53d Jim Derry Sat Sep 23 19:21:58 2017 -0400 -5.5.43 c30f8537a7 Jim Derry Thu Sep 21 07:39:16 2017 -0400 -5.5.42 9614019e8c Jim Derry Wed Sep 20 17:57:42 2017 -0400 -5.5.42 2a4dc1af52 Jim Derry Wed Sep 20 17:47:27 2017 -0400 -5.5.40 53cd1c8113 Geoff McLane Wed Sep 20 19:13:39 2017 +0200 -5.5.39 c38e48baeb Geoff McLane Wed Sep 20 17:04:54 2017 +0200 -5.5.37-exp-jsd 51e2e0f3bd Jim Derry Thu Sep 7 21:06:44 2017 -0400 -5.5.38 a79458a0ef Jim Derry Fri Sep 8 19:41:25 2017 -0400 -5.5.37 5df01d314e Jim Derry Thu Aug 31 13:18:11 2017 -0400 -5.5.36 2c82cfa23b Jim Derry Thu Aug 31 12:55:32 2017 -0400 -5.5.35 5cd2603a68 Jim Derry Wed Aug 30 20:04:03 2017 -0400 -5.5.34 7badd93417 Jim Derry Mon Aug 28 14:29:02 2017 -0400 -5.5.33 f28e809a36 Jim Derry Mon Aug 28 10:03:38 2017 -0400 -5.5.32 a26c4e0a18 Jim Derry Sat Aug 26 12:50:33 2017 -0400 -5.5.31 e48b06b8c0 Geoff McLane Tue May 30 18:17:13 2017 +0200 -5.5.30 dbe8a6a767 Geoff McLane Mon May 29 14:28:34 2017 +0200 -5.5.29 34d37002c9 Geoff McLane Sat May 27 18:26:14 2017 +0200 -5.5.28 59a06293ab Geoff McLane Sat May 27 16:36:08 2017 +0200 -5.5.27 5d057abdcb Jim Derry Sun May 21 14:33:10 2017 -0400 -5.5.26 47c27ecf8e Jim Derry Sun May 21 14:29:13 2017 -0400 -5.5.25 b475ca593d Jim Derry Sun May 21 14:24:57 2017 -0400 -5.5.24 8a639bf91b Jim Derry Sat May 13 22:25:12 2017 -0400 -5.5.23 5fad2252d2 Jim Derry Sat May 13 22:20:36 2017 -0400 -5.5.22 86338b2634 Jim Derry Sat May 13 19:51:28 2017 -0400 -5.5.21 66bed8b9a0 Jim Derry Thu May 11 15:25:46 2017 -0400 -5.5.20 590a030756 Jim Derry Mon May 8 17:37:55 2017 -0400 -5.5.19 6f2fb6e0e7 Jim Derry Sun May 7 15:03:04 2017 -0400 -5.5.18 61d19c9a86 Geoff McLane Sat May 6 15:37:56 2017 +0200 -5.5.17 1257a49823 Geoff McLane Sat May 6 15:26:09 2017 +0200 -5.5.16 594275712c Geoff McLane Sat May 6 14:51:19 2017 +0200 -5.5.15 f9edab1c33 Geoff McLane Sat May 6 14:21:13 2017 +0200 -5.5.14 72612b6ca3 Geoff McLane Sun Apr 9 02:08:58 2017 +0200 -5.5.13 19c0655333 Jim Derry Fri Mar 31 13:36:15 2017 -0400 -5.5.12 17354ff927 Geoff McLane Fri Mar 24 15:26:09 2017 +0100 -5.5.11 1a66455052 Jim Derry Wed Mar 22 16:14:17 2017 -0400 -5.5.10 be5e80f5a7 Jim Derry Mon Mar 20 12:22:45 2017 -0400 -5.5.9 3b9fd6bd5e Jim Derry Sun Mar 19 15:44:18 2017 -0400 -5.5.8 068e6bf42a Jim Derry Sun Mar 19 09:53:16 2017 -0400 -5.5.7 1dbacc9c43 Jim Derry Sun Mar 19 08:09:43 2017 -0400 -5.5.6 96bb67045f Jim Derry Mon Mar 13 13:31:35 2017 -0400 -5.5.5 4dc8a2cf9a Jim Derry Fri Mar 10 08:24:23 2017 -0500 -5.5.4 b0bd27e9c1 Jim Derry Thu Mar 9 13:01:39 2017 -0500 -5.5.3 b047e32a18 Jim Derry Tue Mar 7 20:18:06 2017 -0500 -5.5.2 1ebae18c9a Jim Derry Mon Mar 6 17:09:33 2017 -0500 -5.5.1 b5885dee46 Jim Derry Mon Mar 6 07:07:40 2017 -0500 -5.5.0 3e23225288 Geoff McLane Wed Mar 1 15:33:22 2017 +0100 -5.4.0 17b33753ae Geoff McLane Wed Mar 1 15:04:22 2017 +0100 -5.3.21 c39b1cb423 Geoff McLane Wed Mar 1 14:51:53 2017 +0100 -5.3.20 d07134140a Geoff McLane Fri Feb 24 14:39:46 2017 +0100 -5.3.19 13c92bce38 Geoff McLane Thu Feb 23 16:29:44 2017 +0100 -5.3.18 b97b2f0d45 Geoff McLane Thu Feb 23 15:28:40 2017 +0100 -5.3.18 b7c84b1b57 Jim Derry Mon Feb 13 08:49:06 2017 -0500 -5.3.16 73bf561645 Geoff McLane Sun Feb 12 17:40:48 2017 +0100 -5.3.16I483 259d330780 Geoff McLane Wed Feb 1 13:46:25 2017 +0100 -5.3.15 10fd44d101 Geoff McLane Sun Jan 29 19:21:46 2017 +0100 -5.3.14 0cbbd55535 Geoff McLane Mon Jan 9 17:07:13 2017 +0100 -5.3.13 2243510592 Geoff McLane Sun Jan 8 18:24:17 2017 +0100 -5.3.12 fd0ccb2bbf Geoff McLane Sun Oct 30 23:37:31 2016 +0100 -5.3.11 4edbc2424b Geoff McLane Sun Sep 11 17:09:09 2016 +0200 -5.3.10 f1ac2dba58 Geoff McLane Sun Sep 11 15:50:42 2016 +0200 -5.3.9 d2fc252598 Geoff McLane Thu Aug 4 15:54:14 2016 +0200 -5.3.8 09caae3b9c Geoff McLane Fri Jul 29 02:58:24 2016 +0200 -5.3.7 4a483fd066 Geoff McLane Mon Jul 11 15:32:55 2016 +0200 -5.3.6 3b73cc12c5 Geoff McLane Mon Jul 11 00:26:07 2016 +0200 -5.3.5 d332908e5d Geoff McLane Fri Jul 1 15:54:10 2016 +0200 -5.3.4 6b3b1624ea Geoff McLane Thu Jun 30 18:36:10 2016 +0200 -5.3.3 eca7688941 Geoff McLane Sat Jun 18 18:57:09 2016 +0200 -5.3.2 676b36eff5 Geoff McLane Sat Jun 18 18:26:23 2016 +0200 -5.3.1 60c1dd1744 Geoff McLane Sat Apr 16 20:16:50 2016 +0200 -5.3.0 fdf2169ebf Geoff McLane Thu Apr 7 16:36:06 2016 +0200 -5.1.52 0db9b32e22 Geoff McLane Mon Apr 4 18:14:33 2016 +0200 -5.1.51 3e5e07ea18 Geoff McLane Thu Mar 31 14:50:47 2016 +0200 -5.1.50 005f36106a Geoff McLane Wed Mar 30 16:28:45 2016 +0200 -5.1.49 c19d221ddc Geoff McLane Wed Mar 30 14:19:07 2016 +0200 -5.1.48 aa1fc197d5 Geoff McLane Sun Mar 27 19:57:41 2016 +0200 -5.1.47fr fb95ea2ed2 Geoff McLane Wed Mar 23 19:53:51 2016 +0100 -5.1.47 3c8d9bf3f6 Geoff McLane Sun Mar 20 01:03:25 2016 +0100 -5.1.46 8a31aad0e3 Geoff McLane Sat Mar 19 19:32:39 2016 +0100 -5.1.45-Exp3 06215769aa Geoff McLane Fri Mar 18 18:48:08 2016 +0100 -5.1.45-Exp2 98f32ddebb Geoff McLane Sun Mar 6 17:38:48 2016 +0100 -5.1.45-Exp1 b83d5ffb03 Geoff McLane Sat Mar 5 17:40:32 2016 +0100 -5.1.45 b2c591c138 Geoff McLane Fri Mar 4 19:39:21 2016 +0100 -5.1.44 1dd06aa4b2 Geoff McLane Mon Feb 29 19:59:41 2016 +0100 -5.1.43 9a80938246 Geoff McLane Mon Feb 29 18:49:52 2016 +0100 -5.1.42 b41318724c Geoff McLane Wed Feb 24 19:24:46 2016 +0100 -5.1.41issue-373 9ba80b864e Geoff McLane Thu Feb 18 15:12:11 2016 +0100 -5.1.41 be0e5f3a8b Jim Derry Thu Feb 18 10:20:40 2016 +0800 -5.1.40 6c181d5689 Jim Derry Wed Feb 17 12:43:44 2016 +0800 -5.1.40 97abad0c05 Jim Derry Tue Feb 16 11:11:36 2016 +0800 -5.1.38 7df66c45da Jim Derry Tue Feb 16 10:20:34 2016 +0800 -5.1.36_attr_phase2 2ade3357a9 Jim Derry Sat Feb 13 11:31:16 2016 +0800 -5.1.36_attr_phase1 429703dce4 Jim Derry Fri Feb 12 19:34:19 2016 +0800 -5.1.36 0f3cab930a Geoff McLane Mon Feb 1 20:10:23 2016 +0100 -5.1.35 e8ca2aa5f3 Geoff McLane Mon Feb 1 19:45:43 2016 +0100 -5.1.34 dca50d4077 Jim Derry Sat Jan 30 16:02:00 2016 +0800 -5.1.33localizing d505869910 Jim Derry Fri Jan 15 12:06:15 2016 +0800 -5.1.33 ce6c7de2d9 Jim Derry Thu Jan 7 11:52:58 2016 +0800 -5.1.32 9942856164 Geoff McLane Mon Dec 7 12:42:13 2015 +0100 -5.1.31 5f8aac98df Geoff McLane Sat Dec 5 13:02:33 2015 +0100 -5.1.30 121fe86bc6 Geoff McLane Fri Dec 4 18:32:48 2015 +0100 -5.1.29 34eb16b5da Geoff McLane Thu Dec 3 19:38:13 2015 +0100 -5.1.28 4c848c57bc Jim Derry Sun Nov 29 13:24:01 2015 +0800 -5.1.28 501c3fb616 Jim Derry Fri Nov 27 09:47:09 2015 +0800 -5.1.27 db4f6473ed Geoff McLane Thu Nov 26 00:58:07 2015 +0100 -5.1.26 0ef4493ae8 Geoff McLane Tue Nov 24 19:29:52 2015 +0100 -5.1.25 2388fb0175 Geoff McLane Sun Nov 22 18:46:00 2015 +0100 -5.1.24 496c81c48d Geoff McLane Wed Nov 18 20:02:54 2015 +0100 -5.1.23 06e4311189 Geoff McLane Wed Nov 18 17:08:26 2015 +0100 -5.1.22 15563fff51 Geoff McLane Mon Nov 16 18:55:20 2015 +0100 -5.1.21 c9699d3820 Geoff McLane Sat Nov 14 15:24:19 2015 +0100 -5.1.20 e5703803c8 Geoff McLane Thu Nov 5 15:22:21 2015 +0100 -5.1.19 9f9ca4c774 Jim Derry Thu Nov 5 09:38:01 2015 +0800 -5.1.18 02909b5fe3 Jim Derry Tue Nov 3 11:37:28 2015 +0800 -5.1.17 67c86cbe7f Geoff McLane Wed Oct 28 16:11:24 2015 +0100 -5.1.16 ba1f1e00be Geoff McLane Tue Oct 20 15:06:05 2015 +0200 -5.1.15 a94df6c0f9 Geoff McLane Wed Oct 14 16:57:41 2015 +0200 -5.1.14 fa43957b6d Geoff McLane Sun Sep 27 17:38:08 2015 +0200 -5.1.13 7cf9fc2906 Geoff McLane Fri Sep 25 13:00:06 2015 +0200 -5.1.12 f4113a8643 Geoff McLane Mon Sep 21 12:34:29 2015 +0200 -5.1.11 b2118fa09a Geoff McLane Sat Sep 19 14:59:58 2015 +0200 -5.1.10 d541405a2a Geoff McLane Wed Sep 16 13:17:50 2015 +0200 -5.1.9 1c187f8179 Geoff McLane Thu Sep 10 15:02:38 2015 +0200 -5.1.8 87e0e11b49 Geoff McLane Fri Sep 4 15:03:08 2015 +0200 -5.1.7 fd056e353b Geoff McLane Sat Aug 22 14:04:38 2015 +0200 -5.1.6 5380eb0413 Geoff McLane Sat Aug 22 14:00:56 2015 +0200 -5.1.6 1d67dc940a Geoff McLane Mon Aug 10 18:42:58 2015 +0200 -5.1.4 4e7c52607c Geoff McLane Fri Jul 31 13:44:46 2015 +0200 -5.1.3 6a24f50466 Geoff McLane Thu Jul 30 14:52:07 2015 +0200 -5.1.2 750f31704b Geoff McLane Fri Jul 17 19:16:04 2015 +0200 -5.1.2 33494a4aea Geoff McLane Tue Jul 14 11:27:15 2015 +0200 -5.1.1 7f9df1c746 Geoff McLane Mon Jul 13 12:18:10 2015 +0200 -5.1.0 2da67a2bbc Geoff McLane Mon Jul 13 02:08:37 2015 +0200 -5.0.0 1e70fc6f15 Geoff McLane Tue Jun 30 19:59:00 2015 +0200 -4.9.37 daef037156 Geoff McLane Wed Jun 24 13:12:31 2015 +0200 -4.9.36 b65988c95a Geoff McLane Sun Jun 21 19:50:56 2015 +0200 -4.9.35 7b7fbce9ab Geoff McLane Tue Jun 9 12:32:26 2015 +0200 -4.9.34 bea5bb700f Geoff McLane Mon Jun 8 13:53:38 2015 +0200 -4.9.33 f67300963e Geoff McLane Sat Jun 6 11:06:37 2015 +0200 -4.9.32 544f9876cc Geoff McLane Thu Jun 4 13:21:00 2015 +0200 -4.9.31 0c96ed8af4 Geoff McLane Wed Jun 3 20:27:01 2015 +0200 -4.9.30 dde78c2dbf Geoff McLane Sun May 24 15:23:59 2015 +0200 -4.9.29 3686bc5390 Geoff McLane Fri May 22 16:22:27 2015 +0200 -4.9.28wt 3f33ba2d88 Geoff McLane Fri May 15 16:17:46 2015 +0200 -4.9.28 1c9970deb4 Geoff McLane Wed May 13 12:37:20 2015 +0200 -4.9.27 d8a4498803 Geoff McLane Tue May 12 13:18:16 2015 +0200 -4.9.26 6b66b65ec8 Geoff McLane Wed Apr 22 21:27:23 2015 +0200 -4.9.25 f5eb2cf26a Geoff McLane Sat Apr 11 15:22:55 2015 +0200 -4.9.24 ca06201c3a Geoff McLane Wed Apr 8 18:47:08 2015 +0200 -4.9.23 3585d4c31a Geoff McLane Thu Mar 19 19:14:27 2015 +0100 -4.9.22 47df5fddbc Geoff McLane Thu Mar 19 16:32:19 2015 +0100 -4.9.21 09fa036b31 Geoff McLane Fri Mar 13 19:48:31 2015 +0100 -4.9.20 90c9e81ba1 Geoff McLane Fri Mar 6 19:14:24 2015 +0100 -4.9.19 7ffcce2241 Geoff McLane Fri Mar 6 13:09:12 2015 +0100 -4.9.18 2e383c6029 Geoff McLane Sat Feb 28 20:32:38 2015 +0100 -4.9.17 a9361a1c5b Geoff McLane Tue Feb 24 17:53:58 2015 +0100 -4.9.16 25d38e1dcf Geoff McLane Tue Feb 24 15:07:36 2015 +0100 -4.9.15 7bf364624f Geoff McLane Thu Feb 12 15:38:06 2015 +0100 -4.9.14 8b362b5f37 Geoff McLane Tue Feb 10 15:30:35 2015 +0100 -4.9.13 97470ce459 Geoff McLane Sat Feb 7 13:57:31 2015 +0100 -4.9.12 0cf21fb559 Geoff McLane Sat Feb 7 13:43:09 2015 +0100 -4.9.11 bef3b08c18 Geoff McLane Fri Feb 6 19:26:45 2015 +0100 -4.9.10 906d858f9e Geoff McLane Thu Feb 5 19:03:25 2015 +0100 -4.9.9 383a901990 Geoff McLane Thu Feb 5 12:22:14 2015 +0100 -4.9.8 5f470763c5 Geoff McLane Tue Feb 3 13:39:51 2015 +0100 -4.9.7 d38c5c5d78 Geoff McLane Mon Feb 2 17:37:49 2015 +0100 -4.9.6 201f3cb49e Geoff McLane Sun Feb 1 18:36:30 2015 +0100 -4.9.5 8497326dc3 Geoff McLane Sun Feb 1 16:08:31 2015 +0100 -4.9.4 22a3924484 Geoff McLane Sun Feb 1 14:39:51 2015 +0100 -4.9.3 de97628f8f Jim Derry Sun Feb 1 14:20:41 2015 +0800 -4.9.3 362c71ee2e Jim Derry Sat Jan 31 18:11:26 2015 +0800 -4.9.2 e2cbd9e89f Geoff McLane Thu Jan 29 18:25:57 2015 +0100 -# eof diff --git a/version.txt b/version.txt index 8443c17..1d14cdb 100644 --- a/version.txt +++ b/version.txt @@ -1,2 +1,2 @@ -5.7.62 +5.8.0 2021.07.10