# Issues with strikethrough \<s\> HTML5 tag

**URL:** https://meta.discourse.org/t/issues-with-strikethrough-s-html5-tag/39117
**Category:** Bug
**Tags:** composer, markdown-it-review
**Created:** [2016 年 2 月 5 日午後 8:20 UTC](https://meta.discourse.org/t/issues-with-strikethrough-s-html5-tag/39117 "2016-02-05T20:20:14Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2016 年 2 月 5 日午後 8:20 UTC](https://meta.discourse.org/t/issues-with-strikethrough-s-html5-tag/39117/1 "2016-02-05T20:20:14Z")

</div>

**Summary:**

Using `<s> </s>` tags with multiple paragraphs produces inconsistent results in the preview pane versus a baked post.

**Steps to reproduce:**

1. Create multiple paragraphs with blank lines separating them
2. Add `<s>` in front of first paragraph
3. Add ` at end of second (or later) paragraph

**Expected Results:**

All text between `<s>` and `</s>` is striked out

**Actual Results:**

Preview pane shows expected results. Only first paragraph in baked (submitted) post is striked out.

**Notes:**

I was able to replicate this on [try.discourse.org](http://try.discourse.org), however try is a beta ahead (10) of stonehearth. See post below:  
[https://try.discourse.org/t/testing-strikethrough/340?u=jomaxro](https://try.discourse.org/t/testing-strikethrough/340?u=jomaxro)

**Attachments:**

Screenshot of post editor and submitted post on try.

 ![](https://global.discourse-cdn.com/meta/original/3X/5/c/5c92ad0f8e61e44b3875f705bb62f79aca238f1d.png)

**Version:**

Discourse 1.5.0.beta9 ([discourse.stonehearth.net](http://discourse.stonehearth.net/))  
Discourse 1.5.0.beta10 ([try.discourse.org](https://try.discourse.org))

**System Information:**

Windows 10 Pro, Chrome Stable 48

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2016 年 2 月 6 日午前 8:42 UTC](https://meta.discourse.org/t/issues-with-strikethrough-s-html5-tag/39117/2 "2016-02-06T08:42:32Z")

</div>

What happens here: [https://markdown-it.github.io/](https://markdown-it.github.io/) ?

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [2016 年 2 月 6 日午後 4:15 UTC](https://meta.discourse.org/t/issues-with-strikethrough-s-html5-tag/39117/3 "2016-02-06T16:15:18Z")

</div>

It works as expected there. 3 paragraphs with strikethrough.

[Permalink to github.io](https://markdown-it.github.io/#md3=%7B%22source%22%3A%22%3Cs%3EAlright%2C%20I%20took%20a%20look%20at%20the%20log%20and%20dump.%20%20It%20seems%20like%20your%20Graphics%20card%20drivers%20are%20not%20up%20to%20date.%20%20Looking%20up%20the%20card%20on%20NVIDIA%27s%20site%2C%20it%20appears%20the%20most%20recent%20drivers%20are%20361.75%2C%20and%20your%20log%20lists%20353.62%20as%20the%20current%20version.%5Cn%5CnCan%20you%20check%20for%20updates%20directly%20from%20NVIDIA%27s%20site%20here%3A%20http%3A%2F%2Fwww.nvidia.com%2FDownload%2Findex.aspx%3Flang%3Den-us37%3F%5Cn%5CnOnce%20you%20have%20updated%20the%20drivers%20%28and%20rebooted%20your%20computer%29%2C%20please%20try%20relaunching%20the%20game.%20%20If%20it%20still%20fails%20to%20launch%2C%20please%20upload%20%28or%20copy%20and%20paste%29%20your%20%60stonehearth.log%60%20again%2C%20as%20well%20as%20your%20%60user_settings.json%60%20file.%20%20Note%20that%20you%20will%20not%20be%20able%20to%20%60user_settings.json%60%20directly%20%28if%20you%20don%27t%20wish%20to%20copy%20and%20paste%20it%29%2C%20so%20please%20zip%20it%20f%3C%2Fs%3E%5Cn%5CnAnd%20you%20have%20it%20working!%20%20I%20guess%20I%20can%20stop%20typing%20my%20response%20then...glad%20you%20are%20all%20set!%20%20No%20worries%20about%20%5C%22stealing%20our%20time%5C%22%2C%20that%20is%20what%20we%20are%20here%20for!%20%20Have%20fun!%22%2C%22defaults%22%3A%7B%22html%22%3Atrue%2C%22xhtmlOut%22%3Afalse%2C%22breaks%22%3Afalse%2C%22langPrefix%22%3A%22language-%22%2C%22linkify%22%3Atrue%2C%22typographer%22%3Atrue%2C%22_highlight%22%3Atrue%2C%22_strict%22%3Afalse%2C%22_view%22%3A%22html%22%7D%7D)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2016 年 2 月 6 日午後 10:29 UTC](https://meta.discourse.org/t/issues-with-strikethrough-s-html5-tag/39117/4 "2016-02-06T22:29:04Z")

</div>


