From 293e5c9ba4b88924e0cc4b513318cf822f5c63eb Mon Sep 17 00:00:00 2001 From: albert-github Date: Mon, 4 Jun 2018 20:25:30 +0200 Subject: Bug 796494 - Collapsed treeview arrow displays as emoji in Microsoft Edge The right arrow (▶) is inn MicrosoftEdge displayed as an Emoji it displays as a white arrow inside a blue square with a black border instead of a monochrome arrow. Unicode contains another right arrow (␪) which displays correctly (also in Chrome, Opera, FireFox, Internet Explorer; in some even better). The Unicode naming is a bit confusing: - for the down arrow we only have: - ▼ 'BLACK DOWN-POINTING TRIANGLE' - for the right arrow we have: - ▶ 'BLACK RIGHT-POINTING TRIANGLE' - ► 'BLACK RIGHT-POINTING POINTER' so it looks logical to use both Triangles but this is not the case. --- src/ftvhelp.cpp | 2 +- templates/html/dynsections.js | 6 +++--- templates/html/htmldirtree.tpl | 2 +- templates/html/navtree.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ftvhelp.cpp b/src/ftvhelp.cpp index 14c94a3..d71c48f 100644 --- a/src/ftvhelp.cpp +++ b/src/ftvhelp.cpp @@ -257,7 +257,7 @@ void FTVHelp::generateIndent(FTextStream &t, FTVNode *n,bool opened) while (p) { indent++; p=p->parent; } if (n->isDir) { - QCString dir = opened ? "▼" : "▶"; + QCString dir = opened ? "▼" : "►"; t << " " << "  - {%if node.level+1 {% endif %} {% if node.namespace %} diff --git a/templates/html/navtree.js b/templates/html/navtree.js index e310bc9..7ce2935 100644 --- a/templates/html/navtree.js +++ b/templates/html/navtree.js @@ -23,7 +23,7 @@ */ var navTreeSubIndices = new Array(); var arrowDown = '▼'; -var arrowRight = '▶'; +var arrowRight = '►'; function getData(varName) { -- cgit v0.12