mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: Prefer <<~
over <<
.
This commit is contained in:
parent
0f1afad6da
commit
bbf542da01
1 changed files with 9 additions and 9 deletions
|
@ -33,7 +33,7 @@ describe ThemeField do
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'only extracts inline javascript to an external file' do
|
it 'only extracts inline javascript to an external file' do
|
||||||
html = <<HTML
|
html = <<~HTML
|
||||||
<script type="text/discourse-plugin" version="0.8">
|
<script type="text/discourse-plugin" version="0.8">
|
||||||
var a = "inline discourse plugin";
|
var a = "inline discourse plugin";
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue