When adding meta element for Tidy prefer library version over date
This commit is contained in:
parent
ec4d4cd1f1
commit
59974e0bb0
|
@ -1462,10 +1462,10 @@ Bool TY_(AddGenerator)( TidyDocImpl* doc )
|
|||
if (head)
|
||||
{
|
||||
#ifdef PLATFORM_NAME
|
||||
TY_(tmbsnprintf)(buf, sizeof(buf), "HTML Tidy for HTML5 for "PLATFORM_NAME" dated %s",
|
||||
tidyReleaseDate());
|
||||
TY_(tmbsnprintf)(buf, sizeof(buf), "HTML Tidy for HTML5 for "PLATFORM_NAME" version %s",
|
||||
tidyLibraryVersion());
|
||||
#else
|
||||
TY_(tmbsnprintf)(buf, sizeof(buf), "HTML Tidy for HTML5 dated %s", tidyReleaseDate());
|
||||
TY_(tmbsnprintf)(buf, sizeof(buf), "HTML Tidy for HTML5 version %s", tidyLibraryVersion());
|
||||
#endif
|
||||
|
||||
for ( node = head->content; node; node = node->next )
|
||||
|
|
Loading…
Reference in a new issue