-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditional <var> or <div> in formatReplaceabledHTML #121
Comments
And |
I tried that one - they wore me out and I ended up agreeing with |
On Tue, Nov 28, 2017 at 08:08:24PM +0000, goneall wrote:
Using the Firefox dev tools (I'm sure other browsers have similar tools), you can see the expected And you can see that a Here's the clobbering CSS in context: Since .license {
color: #58595b;
} to set the default color, .license h1, .license h2 {
color: #4597cb
} and similar to set header colors, and .license .optional-license-text {
color: #0000cc;
} to set the optional color. More specificity docs here. Your current issue is the high-specificity One issue is that we will want to address around this is nested |
When I changed to |
Found this: https://stackoverflow.com/questions/1826735/how-do-i-prevent-div-tag-starting-a-new-line I'll give the display:inline a try |
I've updated the title, now that I think |
Fixed by #122. |
formatReplaceabledHTML
currently uses a wrapping<span>
, but that doesn't work if the content is not phrasing content. For example, if the<alt>
wraps a<p>
or<ul>
(which are flow content, and which is currently allowed), then we should be using a<div>
or similar instead of a<span>
. I expect we'll need to parse the contents to make this switch, and that's beyond my Java ability, so I'm filing this as an issue instead of a PR ;).The text was updated successfully, but these errors were encountered: