Replace single quotes with double quotes
This commit is contained in:
parent
72719684a6
commit
efbd0299f9
3 changed files with 5 additions and 3 deletions
|
@ -39,3 +39,5 @@ Layout/ExtraSpacing:
|
|||
Enabled: false
|
||||
Style/TrivialAccessors:
|
||||
Enabled: false
|
||||
Style/PercentLiteralDelimiters:
|
||||
Enabled: false
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
module Mixin::Inline
|
||||
def inline_json(path, class_name: File.basename(path, File.extname(path)))
|
||||
"<script class='json #{class_name}' type='application/json'>" \
|
||||
%|<script class="json #{class_name}" type="application/json">| \
|
||||
"#{items[path].compiled_content}" \
|
||||
"</script>"
|
||||
end
|
||||
|
||||
def inline_css(path)
|
||||
class_name = File.basename(path, File.extname(path))
|
||||
"<style class='css #{class_name}'>" \
|
||||
%|<style class="css #{class_name}">| \
|
||||
"#{items[path.sub(".css", ".scss")].compiled_content}" \
|
||||
"</style>"
|
||||
end
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<%= inline_css('/css/vendor/postman.css') %>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="description" content='<%= t(locale, 'meta.stream.description', {surah_name: surah.name}) %>'>
|
||||
<meta name="description" content="<%= t(locale, 'meta.stream.description', {surah_name: surah.name}) %>">
|
||||
<%= erb("_revision.html.erb") %>
|
||||
<%= opengraph(context) %>
|
||||
<link
|
||||
|
|
Loading…
Reference in a new issue