Just discovered this, the watchdog warnings outputed when revisions are updated or deleted produces some funky results:

<em>story</em>: reverted <em>node #946 (story)</em> revision <em

Yes, that <em> isn't properly closed. Can't figure this out, the syntax being passed is correct, very, very strange.

CommentFileSizeAuthor
#2 watchdog.module_1.patch815 bytesm3avrck
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

m3avrck’s picture

m3avrck’s picture

Title: Bad output from node revision watchdog warnings » Fix bad markup and title for some watchdog warnings
Status: Active » Reviewed & tested by the community
FileSize
815 bytes

Ok, seems the HTML is now being rendered again, however the EM tags are being chopped off. Did a bit of digging and determined it is because truncate_utf8() is breaking the tags in the middle. This patch calls this function to break at word boundaries instead and also shortens the length a tad bit and also allows it to show that the log message has been truncated (I was scratching my head for a bit wondering why I was getting different messages for different nodes, turns out the message was actually just truncated).

Dries’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)