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
On Mon, May 28, 2012 at 03:53:13PM +0200, Dario Giovannetti wrote:
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
Pushed to master and applied on sigurd. Thanks!
Thank you
Dario
participants (2)
-
Dario Giovannetti
-
Lukas Fleischer