[aur-dev] [PATCH] HTML/DOM fixes

Dario Giovannetti dariogiova at gmail.com
Mon May 28 09:53:13 EDT 2012


While developing a bot for the ArchWiki, I've noticed that some AUR 
pages cannot be parsed as text/xml documents because of 2 errors in the 
HTML code, both addressed by the attached patch.

The change to pkg_comments.php is self explaining.
The change to pkgfuncs.inc.php is due to the fact that <body> shouldn't 
have a text node as a child.

As this patch is safe can you consider uploading the edited files 
directly to the server, instead of waiting for the next AUR release?

Bug report: https://bugs.archlinux.org/task/29966
Patch: https://bugs.archlinux.org/task/29966?getfile=8802

Thank you

Dario



More information about the aur-dev mailing list