Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | watchdog.module_1.patch | 815 bytes | m3avrck |
Comments
Comment #1
m3avrck CreditAttribution: m3avrck commentedComment #2
m3avrck CreditAttribution: m3avrck commentedOk, 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).
Comment #3
Dries CreditAttribution: Dries commentedComment #4
(not verified) CreditAttribution: commented