View Full Version : Strike Out

Duane Degn
01-23-2012, 03:14 PM
<st>cheap</st> expensive

cheap expensive

cheap [s] expensive

[sub] (subscript) and [s] expensive

<s>cheap</s> expensive

[s]cheap{/s] expensive This is what strike out looks like in editor window after "Preview Post".

[s]cheap expensive ' this didn't work the first time. Only after added the next line.

[cheap [ expensive

cheap expensive adding a space after "s" [s ]cheap [/s ] expensive

I had hit "Preview Post" twice to see the above strike out. The spaces didn't work to preserve original text. I'll use s-brackets to show original.

cheap expensive original: cheap [s] expensive original (using "O" instead of "0": &#O91;s]cheap &#O91;s] expensive

Darn, I forgot the "/" in the closing code.

[s]cheap expensive original (using "O" instead of "0": &#O91;s]cheap &#O91;/s] expensive

That seemed to work. I still had to hit "Preview Post" twice to see the above strike out.

In summery, to stikeout "cheap" use following code:

&#O91;s]cheap &#O91;/s]

Except you'll need to use a zero instead of the letter "O" in the above code. You'll also need to press the "Preview Post" button twice.

Edit: I learned this from Phil here:


Phil Pilgrim (PhiPi)
01-23-2012, 03:44 PM

I'm afraid my "example" has come via the latest forum update, rather than anything I intended. It used to be that, in order to show raw BBcode, you had to use the ampersand notation to keep the software from interpreting it as BBcode. Now, when you enter the ampersand notation in the editor, the software converts it to its equivalent character. Previewing again, interprets the BBcode.

To keep BBocdes from being interpreted, use the [noparse] tag and its complementary closing tag. BBcodes placed between these tags will be displayed as-is, without being invoked. As far as strike-throughs go, the pair works fine.


Duane Degn
01-23-2012, 03:54 PM
Thanks Phil,

I'll try this again.

I thought I should be able to use this for strikeout:
strike this

If it works, and you can't tell what I typed, here it is with noparse tags.
strike this

I see that ASCII #91 is "[". Which makes the above numbers start to make sense.

Duane Degn
01-23-2012, 03:57 PM
Now I know why it didn't work in my first post.

I make the same mistake as our friend Paul and used a s-bracket instead of a square bracket (in my attempt after using <> as brackets). Now I'm not nearly as confused (at least about this issue).

Thanks Phil.