Feature #46

Integrate JavaScript and CSS Scanners into HTML Scanner

Added by Kornelius Kalnbach almost 2 years ago. Updated 4 months ago.

Status:New Start:09/18/2008
Priority:Normal Due date:
Assigned to:Kornelius Kalnbach % Done:

0%

Category:Scanner improvements
Target version:1.0 RC1

Description

HTML can contain CSS and JavaScript. CodeRay should highlight them using nested scanners.

History

Updated by Kornelius Kalnbach almost 2 years ago

  • Target version changed from 0.8 to 1.0 RC1

Updated by Kornelius Kalnbach almost 2 years ago

I move this to 1.0 because it's not crucial currently. Comment if you think different.

Updated by Kornelius Kalnbach 8 months ago

  • Target version changed from 1.0 RC1 to 1.1

Updated by Kornelius Kalnbach 8 months ago

  • Category changed from Scanner requests to Scanner improvements

Updated by Troex Nevelin 5 months ago

There is kinda dirty trick, but line-numbers will become mad, maybe allow code inside code taq to temporary switch highlighter?

Updated by Kornelius Kalnbach 4 months ago

  • Target version changed from 1.1 to 1.0 RC1

Actually, I'd like to have this feature in 1.0.

CSS should be highlighted in:
  • style tags
  • style="…" attribute values
JavaScript should be highlighted in:
  • script tags
  • onclick="…" attribute values (and other on* friends)
  • href="javascript:…" attribute values

Shouldn't be that hard.

Also available in: Atom PDF