Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#37356 - [highlight] syntax preview broken
Attached to Project:
Community Packages
Opened by Marko Rakamaric (markoer) - Wednesday, 16 October 2013, 12:03 GMT
Last edited by Florian Pritz (bluewind) - Friday, 18 October 2013, 16:18 GMT
Opened by Marko Rakamaric (markoer) - Wednesday, 16 October 2013, 12:03 GMT
Last edited by Florian Pritz (bluewind) - Friday, 18 October 2013, 16:18 GMT
|
DetailsDescription:
Using comunity version highlight-3.16-1 for previeving and syntax highlighting bash or sh files, is not as expected. highlited file is presented as "*token*" stuff, without actual file content Additional info: * highlight-3.16-1-i686.pkg.tar.xz Steps to reproduce: 1. navigate to the bash or sh file 2. execute highlight --out-format=ansi filename 3. stdout show only "*token*" stuff without presenting normal file content Expected behavior: 1. navigate to the bash or sh file 2. execute highlight --out-format=ansi filename 3. stdout show actual file content with highlighted syntax |
This task depends upon
Upstream tracker: http://sourceforge.net/p/syntaxhighlight/bugs/
EDIT:
fix is located in sh.lang file, which has debuging mode on using print statement, so removing that line fixes issue.