atom / language-perl

Perl package for Atom
Other
25 stars 32 forks source link

hyperlink dominate and highlight will break #59

Open Fank opened 8 years ago

Fank commented 8 years ago

The following example show that the ~ char which determine the start and end char will be eaten by the hyperlink and so everything behind it will be shown as a string, which is wrong.

my $asd = q~<a href="http://test.asd/test?UUID=~.$UID.q~">details</a>~;

screenshot from 2015-11-20 14-36-53

If i add a space between =~ -> = ~ everything is ok screenshot from 2015-11-20 14-37-38

@infininight i know you told me that sub "highlighter" will highlight as long they find an end, also if the end is from the parent highlighter. If you know what i mean, it was an general highlight issue.