Skip to content

Commit

Permalink
Merge pull request #24 from alfanse/master
Browse files Browse the repository at this point in the history
#23, yatspec.peb allowing raw html from renderers into captured interactions
  • Loading branch information
nickmcdowall committed Apr 2, 2021
2 parents 4097e96 + ac411e3 commit 0f7ad73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/templates/yatspec.peb
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<details class="interaction">
<summary class="logKey" logkey="{{ entry.key.htmlSafeValue }}">{{ entry.key.value | render | escape }}</summary>
<div contenteditable="true" ondblclick="document.execCommand('selectAll',false,null)"
class="logValue highlight {{ entry.value.class.simpleName}}">{{ entry.value | render }}</div>
class="logValue highlight {{ entry.value.class.simpleName}}">{{ entry.value | render | raw }}</div>
</details>
{% endfor %}
</details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ <h3 logkey="Sequence_Diagram">Component Diagram</h3>
<details class="interaction">
<summary class="logKey" logkey="_kindness__bite_of_burger_from_mrflintstone_to_barney">(kindness) bite of burger from mrflintstone to barney</summary>
<div contenteditable="true" ondblclick="document.execCommand('selectAll',false,null)"
class="logValue highlight String">&lt;xml&gt;&lt;message&gt;have some of my burger because I like you&lt;/message&gt;&lt;/xml&gt;</div>
class="logValue highlight String"><xml><message>have some of my burger because I like you</message></xml></div>
</details>
</details>
</section>
Expand Down Expand Up @@ -461,7 +461,7 @@ <h3 logkey="Sequence_Diagram">Component Diagram</h3>
<details class="interaction">
<summary class="logKey" logkey="_kindness__bite_of_burger_from_mrflintstone_to_barney">(kindness) bite of burger from mrflintstone to barney</summary>
<div contenteditable="true" ondblclick="document.execCommand('selectAll',false,null)"
class="logValue highlight String">&lt;xml&gt;&lt;message&gt;have some of my burger because I like you&lt;/message&gt;&lt;/xml&gt;</div>
class="logValue highlight String"><xml><message>have some of my burger because I like you</message></xml></div>
</details>
</details>
</section>
Expand Down Expand Up @@ -658,7 +658,7 @@ <h3 logkey="Sequence_Diagram">Component Diagram</h3>
<details class="interaction">
<summary class="logKey" logkey="_kindness__bite_of_burger_from_mrflintstone_to_barney">(kindness) bite of burger from mrflintstone to barney</summary>
<div contenteditable="true" ondblclick="document.execCommand('selectAll',false,null)"
class="logValue highlight String">&lt;xml&gt;&lt;message&gt;have some of my burger because I like you&lt;/message&gt;&lt;/xml&gt;</div>
class="logValue highlight String"><xml><message>have some of my burger because I like you</message></xml></div>
</details>
</details>
</section>
Expand Down

0 comments on commit 0f7ad73

Please sign in to comment.