Closed (fixed)
Project:
Chili highlighter
Version:
7.x-2.0-alpha6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2011 at 19:35 UTC
Updated:
2 Jan 2014 at 19:06 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
scor commentedComment #2
Anonymous (not verified) commentedWhat do you mean by "emptying chili_highlighter.js"?
Comment #3
Anonymous (not verified) commentedI didn't have to empty the "chili_hilighter.js" file; I changed the weight of the loaded JavaScript files, and it worked.
I changed the code of
chili_highlighter_init()to the following one:I also changed the content of the "chili_hilighter.js" file to the following one:
I still have to resolve a bug, which doesn't allows to select a different tag to highlight. Monday I will change the code to resolve that bug too, and I will commit the code to create a new official release.
After that I will back-port the code for Drupal 6.
Thank you for your report, and help in fixing this issue.
Comment #3.0
Anonymous (not verified) commentedadd more info on how to fix
Comment #4
Anonymous (not verified) commentedI have created a new official release.
Use the recipes attached in http://drupal.org/node/1270364.
The version associated with the filename is the minimum module version that uses those recipes. Use the file for the version that is closer to the version of the module you are using; for example, if you find two archives, recipes-7.x-2.0-alpha7.zip and recipes-7.x-2.0-alpha9.zip and you are using version 7.x-2.0-alpha11 of the module, then use the file recipes-7.x-2.0-alpha9.zip.