FS#29966 - [PATCH] HTML/DOM fixes

Attached to Project: AUR web interface
Opened by Dario Giovannetti (kynikos) - Monday, 21 May 2012, 15:00 GMT
Last edited by Lukas Fleischer (lfleischer) - Thursday, 31 May 2012, 10:18 GMT
Task Type Bug Report
Category Backend
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Medium
Priority Normal
Reported Version 1.9.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

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?

Thank you.
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Thursday, 31 May 2012, 10:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 937cda9ccb5437ff956c04ef8cdb948f19c0d7a4 . Applied on sigurd.

Loading...