Decimal numbers rendered(highlighted) errorenously in the bash files with '.sh' extension

Issue #1390 new
rahul-kumi
created an issue

Upon trying to render the '.sh' scripts on my terminal(BASH lexer), I was able to come across this bug. The decimal numbers in the file were highlighted in an ambiguous fashion where the mantissa part of the decimal(numbers after the decimal point) was not represented to be part of the number. The abscissa part of the decimal was being displayed in color but the mantissa was not.

I even tried reproducing the error in many environments, the output was the same, in fact upon trying the code in the 'Try it out' section of your site(http://pygments.org/), this was the output given.

Comments (0)

  1. Log in to comment