Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Hashtag (#) breaks standard HTML/CSS #11
I'm not sure using the
Two quick examples
A common way to "pop" modals is using an
<a href="#" class="btn btn-primary" data-toggle="modal">
(I know you could just use
You also won't be able to use inline hex-colors, which is also something a lot of people are doing (at least the lazy ones).
<h1 style="color: #ff0000">This heading is red</h1>
There are probably a lot more cases, where the
Or maybe change it to a double
Okay, so I figured out (by re-reading the
<svg width="48px" height="48px" viewBox="0 0 48 48" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"> <defs> <linearGradient x1="0%" y1="100%" x2="100%" y2="0%"> <stop offset="0%"></stop> <stop stop-color="#()37EF81" offset="100%"></stop> </linearGradient> </defs> <!-- ......... --> </svg>
Also - returning to my "popping a modal" example - people who are using Bootstrap (which is quite a lot) are used to reference modals by their ID's.
<button type="button" data-toggle="modal" data-modal="#()modal"></button> <div id="modal">This is a modal</div>
Having worked a lot with HTML/CSS and knowing others who do, turning every
Personal opinion is still that the token should either change to
I am not sure if this is the correct issue to resurrect this topic in, but here goes.
Unfortunately it is currently not possible to reference fragment identifiers in leaf templates. Example:
As stated here: https://tools.ietf.org/html/rfc3986#section-2.2, the # (amongst others) is a reserved URI character and is used in URLs to reference fragments of a page.
A solution could be to make the token symbol customizable - but it would require configuration from developers if the default is kept as #.