Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop HTML from being escaped for property values and names #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<rect x="0" y="0" height="100%" width="100%" stroke="none" fill="url(#pattern)">
</svg>
</div>
<div id="token-name" class="token-name">{{name}}</div>
<div id="token-name" class="token-name">{{{name}}}</div>
<div id="token-type" class="token-type">{{tokenType}}</div>
</div>
{{#if properties~}}
Expand All @@ -61,7 +61,7 @@
</div>
<div class="property-value-container">
<div class="property-value">
{{~this.value~}}
{{{~this.value~}}}
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</div>
<div id="token-names-container" class="box token-names-container">
<div id="token-names" class="token-names">
<div id="name" class="name">{{name}}</div>
<div id="name" class="name">{{{name}}}</div>
{{~#if gmName}}
<div id="name-gm" class="name-gm gm-only">{{gmName}}</div>
{{~/if}}
Expand All @@ -52,7 +52,7 @@
</div>
<div class="property-value-container">
<div class="property-value">
{{~this.value~}}
{{{~this.value~}}}
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
/>
</div>
<div id="name-container" class="name-container">
<div id="token-name" class="token-name">{{name}}</div>
<div id="token-name" class="token-name">{{{name}}}</div>
</div>
<div id="token-type" class="token-type">{{tokenType}}</div>
{{#if properties~}}
Expand All @@ -48,7 +48,7 @@
</div>
<div class="property-value-container">
<div class="property-value">
{{~this.value~}}
{{{~this.value~}}}
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<div id="token-names-container" class="token-names-container">
<div class="token-name-container name-container">
<div class="name-container-label">Name:</div>
<div class="name-container-value">{{name}}</div>
<div class="name-container-value">{{{name}}}</div>
</div>
{{~#if gmName}}
<div class="gm-name-container name-container gm-only">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</head>
<body>
<div id="statsheet" class="{{statSheetLocation}} statsheet {{#if gm}}gm{{else}}player{{/if}} {{tokenType}}">
<div class="token-name" id="token-name">{{name}}</div>
<div class="token-name" id="token-name">{{{name}}}</div>
<svg id="portrait-frame" class="portrait-frame"
viewBox="0 0 500 500" preserveAspectRatio="xMidYMid"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" >
Expand Down Expand Up @@ -87,7 +87,7 @@
</div>
<div class="property-value-container">
<div class="property-value">
{{~this.value~}}
{{{~this.value~}}}
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
/>
</div>
<div id="token-names" class="token-names">
<div id="name" class="name">{{name}}</div>
<div id="name" class="name">{{{name}}}</div>
{{~#if gmName}}
<div id="name-gm" class="name-gm gm-only">{{gmName}}</div>
{{~/if}}
Expand All @@ -52,7 +52,7 @@
</div>
<div class="property-value-container">
<div class="property-value">
{{~this.value~}}
{{{~this.value~}}}
</div>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
/>
</div>
<div id="token-names" class="token-names">
<div id="name" class="name">{{name}}</div>
<div id="name" class="name">{{{name}}}</div>
{{~#if gmName}}
<div id="name-gm" class="name-gm gm-only">{{gmName}}</div>
{{~/if}}
Expand All @@ -45,7 +45,7 @@
</div>
<div class="property-value-container">
<div class="property-value">
{{~this.value~}}
{{{~this.value~}}}
</div>
</div>
</div>
Expand Down