Skip to content

Commit

Permalink
chore(macros): delete {{HTMLRef}} macro (#7500)
Browse files Browse the repository at this point in the history
  • Loading branch information
OnkarRuikar authored Nov 8, 2022
1 parent 33c907f commit f24093e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 300 deletions.
2 changes: 1 addition & 1 deletion kumascript/macros/HTMLElement.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (linkText === elementName && elementName.indexOf(" ") === -1) {
// {{HTMLElement("abbr")}}
//
// you *want* flaws to bubble up. E.g. a typo like `{{HTMLElement("abbbr")}}`
// But this macro is called from another macro, like `HTMLRef` then, all those
// But this macro is called from another macro, like `HTMLRefTable` then, all those
// macro calls should be "supressed" because it's a problem with the that sidebar
// macro, not the page the current user is viewing/working on.
// So if this 4th argument is passed, it will potentially ignore the macro flaw.
Expand Down
297 changes: 0 additions & 297 deletions kumascript/macros/HTMLRef.ejs

This file was deleted.

2 changes: 1 addition & 1 deletion testing/content/files/en-us/web/foo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- Tag1
- Tag2
---
<p>{{HTMLRef}}</p>
<p>{{HTMLSidebar}}</p>

<div class="notecard note">
<p>This should not become the summary.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- TagX
- TagY
---
<p>{{HTMLRef}}</p>
<p>{{HTMLSidebar}}</p>

<p>Below is a sample interactive example:</p>

Expand Down

0 comments on commit f24093e

Please sign in to comment.