Skip to content

Commit

Permalink
#250: Fixed backlink symbol for Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed May 30, 2019
1 parent c5a98de commit 5655d9d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/Readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ CHANGELOG
4.1.9.0

* New: Issue #247: Added new overloads to GenerateReports
* Fix: Issue #250: Fixed backlink symbol for Firefox

4.1.8.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,7 @@ public void Header(string text)
/// <param name="text">The text.</param>
public void HeaderWithBackLink(string text)
{
// Azure DevOps removes the <meta charset="utf-8" /> tag and can't render the '⭠' char. Since JavaScript is also blocked, '<' is used and replaced if JavaScript is active.
this.reportTextWriter.WriteLine("<h1><a href=\"index.htm\" id=\"backlink\">&lt;</a> {0}</h1><script>document.getElementById('backlink').innerHTML = '&#x2B60;';</script>", WebUtility.HtmlEncode(text));
this.reportTextWriter.WriteLine("<h1><a href=\"index.htm\">&lt;</a> {0}</h1>", WebUtility.HtmlEncode(text));
}

/// <summary>
Expand Down

0 comments on commit 5655d9d

Please sign in to comment.