When adding meta element for Tidy prefer library version over date

This commit is contained in:
Geoff McLane 2015-01-28 12:15:27 +01:00
parent ec4d4cd1f1
commit 59974e0bb0

View file

@ -1462,10 +1462,10 @@ Bool TY_(AddGenerator)( TidyDocImpl* doc )
if (head) if (head)
{ {
#ifdef PLATFORM_NAME #ifdef PLATFORM_NAME
TY_(tmbsnprintf)(buf, sizeof(buf), "HTML Tidy for HTML5 for "PLATFORM_NAME" dated %s", TY_(tmbsnprintf)(buf, sizeof(buf), "HTML Tidy for HTML5 for "PLATFORM_NAME" version %s",
tidyReleaseDate()); tidyLibraryVersion());
#else #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 #endif
for ( node = head->content; node; node = node->next ) for ( node = head->content; node; node = node->next )