You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I set $english-quotes to true in _vars.scss and then set my custom opening and closing quotes they get ignored when it I use <q> tag even though they work in <blockquote>. After changing line 21 of _quotes.scss to look exactly like line 43 it works fine.
Easier to discuss this stuff here than on Twitter…
Lines 7–10 of _quotes.scss should not be modified; they only exist due to what I see as a flaw in Sass.
Quotes should only get defined by a user in _vars.scss, but because of how Sass handles variables defined in conditionals we have to also define the variable in cases where it wouldn’t get set by the @if.
Hey,
When I set
$english-quotes
totrue
in _vars.scss and then set my custom opening and closing quotes they get ignored when it I use<q>
tag even though they work in<blockquote>
. After changing line 21 of _quotes.scss to look exactly like line 43 it works fine.Just a reminder: we discussed it on Twitter and came to some conclusions.
Cheers :)
The text was updated successfully, but these errors were encountered: