Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 153 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

I posted an answer that had some bold text struck out and the bold attribute leaked out and affected the "link|edit|delete|flag" links and other stuff below the answer. I'll try it here and see what happens:

Bold Struck Text

share|improve this question
1  
Yes, it made the tags and flair bold, too. – Dennis Williamson Nov 1 '09 at 2:00
    
Try adding a blank line at the end. – Brad Gilbert Nov 1 '09 at 2:05
    
Pretty good catch. – Robert Harvey Nov 1 '09 at 5:00
    
I added some white space at the end of the question above. It still leaks. – Dennis Williamson Nov 1 '09 at 9:33
4  
I actually like the bold status-review :) – perbert Nov 1 '09 at 20:22
1  
@voyager's mask: As I understand it, one of the rules of typography is that you should use a heavier weight when you have light text on a dark background (or some sticklers say avoid reverse-contrast altogether - but I think that refers to runs of text). – Dennis Williamson Nov 2 '09 at 0:31
    
@Dennis Williamson: I believe that that is the rule of thumb for full paragraphs, but a single bold tag draws more attention to it. If the rest of the tags were to be kept with a normal weight, the status-review tag would be more visible, specially with the different color. – perbert Nov 2 '09 at 0:46
1  
@Dennis Williamson: Just for the record: I don't endorse full paragraphs written with a bold font-face because that is ugly and rude. If you (you being anyone thinking in doing it) do it, I'll come personally and hit you with a big <b> tag. – perbert Nov 2 '09 at 0:47
    
@voyager's mask: I would hit them with a <blink> tag, but that's just me. – Dennis Williamson Nov 2 '09 at 2:04
    
@Dennis Williamson: <blink> would be a hit or miss... May be a <markee>? No, that wouldn't work... Mmm... – perbert Nov 2 '09 at 2:15

Good catch! This was a bug in the tag balancer. The updated code is here:

http://refactormycode.com/codes/360-balance-html-tags

share|improve this answer

Your markup:

<s> **Bold Struck Text** </s>

Gets mangled to this:

<strong>Bold Struck Text </s>

You could switch out your shorthand of <s> into the proper <strike> tag:

<strike> **Bold Struck Text** </strike>
share|improve this answer
7  
I could, but the site shouldn't allow formatting to leak out of user content into site content. – Dennis Williamson Nov 1 '09 at 9:31
    
isn't <del> the proper, semantic tag for strikethrough, and <strike> the deprecated one? (like <b> vs <strong> and <i> vs <em>) – Kip Nov 15 '09 at 13:28
    
@Kip You're right with <del> but <b> and <i> are still in vogue. Like when you mention the title of a movie, you're not necessarily emphasising it as would be if you used <em>. – random Nov 15 '09 at 13:36

Further testing:

bold and struck with s and double asterisks to start things off

struck with s and not

bold with asterisks and not

bold with b and not

italics with one asterisk and not

italics with i and not

struck with strike and not

strong and not

Now some unterminated tags:

struck with s

**bold with asterisks

bold with b

*italics with one asterisk

italics with i

struck with strike

strong

share|improve this answer
    
Only the bold leaks out. – Dennis Williamson Nov 2 '09 at 13:57
1  
Sounds like the title of a maudlin country song. – beska Nov 2 '09 at 14:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .