Closed (fixed)
Project:
GeSHi Filter for syntax highlighting
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Nov 2015 at 22:02 UTC
Updated:
13 Mar 2016 at 03:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
segi commentedComment #3
segi commentedComment #4
yukare commentedThis patch needs some work.
I found this change notice that is related https://www.drupal.org/node/2575819.
I do not have the error message, but the text in the page is wrong, it is encoded in html, so we need to fix it.
What we need to change in the patch: "<code><?php ... ?></code>" show as this, but we need <code></code> as html, it will not show on the page, it will only change the way that <?php ... ?> looks.
Comment #5
yukare commentedI just commited https://www.drupal.org/node/2592539#comment-10569470 which fix one of this errors because it is older than this issue, but we still have some work to do here.
Comment #6
meaton commentedI am getting !placeholder errors on admin/config/content/formats/geshifilter from GeshiFilterSettingsForm.php line 330
I see that these placeholder tags were removed from Drupal 7: https://www.drupal.org/node/2575819
Comment #8
yukare commentedThis is fixed with this commit, thanks.
Please report if you find this in another place.
Comment #9
gbyte@yukare
The .module file is still full of the !placeholders which results in the error "User error: Invalid placeholder in string...".
Could you please quickly change them to @placeholders? find&replace+commit should be quicker than me creating a patch. :)
Regards
Comment #10
hugronaphor commentedI get similar errors on node edit form when using a text format with geshi filter enabled.
Comment #11
hugronaphor commentedComment #13
yukare commentedI fixed some more places where this happens, please see if this is still an issue.