Fix tab marker RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
Inserting the HTML entity confused the prettify engine when we were running in debug hosted mode. Instead of the Unicode character we expected, we got an ASCII "W". Use the actual character in the source code rather than the entity, this should reduce the risk that the prettify engine or the browser will become confused and misrender it. Also correct the coloring, now that its a real character prettify is converting it into a class named 'pun', which is contained within the 'vt' class we created. But if syntax highlighting is off that 'pun' class doesn't exist, so we need CSS selectors for both cases. Change-Id: I8ac03bf00cd4493ea53dcf3573cc2ba92455dfbf Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
@external .vt;
|
||||
@external .wdd;
|
||||
@external .wdi;
|
||||
@external .pun;
|
||||
|
||||
.wse {
|
||||
background: red;
|
||||
@@ -38,7 +39,9 @@
|
||||
* so we have to override the contained style.
|
||||
*/
|
||||
.wse .vt,
|
||||
.wdd .vt {
|
||||
.wdd .vt,
|
||||
.wse .vt .pun,
|
||||
.wdd .vt .pun {
|
||||
color: black;
|
||||
}
|
||||
.wse .wdd {
|
||||
|
||||
Reference in New Issue
Block a user