If the title of a page contains some html eg. or ' this is being converted into plain text and is shown in the title. When I disable the Form Block module the titles are displayed correctly.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | title-passthrough-1241082-1.patch | 620 bytes | siwenro |
Comments
Comment #1
siwenro commentedI came across this just recently as well. A small edit to the module file appears to fix it.
On line 131 of formblock.module:
Note that using PASS_THROUGH in drupal_set_title() is discouraged, but since the module is just restoring the existing title that was retrieved a few lines up via drupal_get_title(), I don't believe there should be a problem. Disclaimer: I haven't tested this extensively and I'm a Drupal noob.
Comment #2
siwenro commentedSorry. Got sidetracked. Here's the corresponding patch. Please review.
Comment #3
gbowman commentedSeems to be working for me, that was a relatively easy fix! :)
Comment #4
mikey_p commentedCommitted to 7.x-1.x.