Skip to content

Commit

Permalink
Fixed glitch with tag spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Jul 19, 2022
1 parent 2bdc188 commit 57af49e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions html-report/ui/build/static/js/vacuumReport.js
Original file line number Diff line number Diff line change
Expand Up @@ -943,8 +943,7 @@
}
}
`];var Be,Fe=function(e,t,o,r){var i,a=arguments.length,n=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,o):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,o,r);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(n=(a<3?i(n):a>3?i(t,o,n):i(t,o))||n);return a>3&&n&&Object.defineProperty(t,o,n),n};let Ge=Be=class extends be{static replaceTicks(e){const t=/(`[^`]*`)/g,o=e.split(t),r=new Array;return o.forEach((e=>{e.match(t)?r.push(K`
<span class="backtick-element"> ${e.replace(/`/g,"")} </span>
`):""!=e&&r.push(K`${e}`)})),r}render(){return this._visible?K`
<span class="backtick-element">${e.replace(/`/g,"")}</span>`):""!=e&&r.push(K`${e}`)})),r}render(){return this._visible?K`
<h2>${Be.replaceTicks(this.message)}</h2>
${this.code}
<h3>JSON Path</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ export class ViolationDrawerComponent extends BaseComponent {
sections.forEach((section: string) => {
if (section.match(rx)) {
renders.push(html`
<span class="backtick-element"> ${section.replace(/`/g, '')} </span>
`);
<span class="backtick-element">${section.replace(/`/g, '')}</span>`);
} else {
if (section != '') {
renders.push(html`${section}`);
Expand Down

0 comments on commit 57af49e

Please sign in to comment.