# More formatting bugs with font size refactor

**URL:** https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726
**Category:** Bug
**Created:** [January 23, 2018, 7:03am UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726 "2018-01-23T07:03:48Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![William04GamerA](https://avatars.discourse-cdn.com/v4/letter/w/90db22/32.png) [@William04GamerA](https://meta.discourse.org/u/William04GamerA)
#### Post date: [January 23, 2018, 7:03am UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/1 "2018-01-23T07:03:48Z")

</div>

Hello! A few days ago, me and @JonnyGamer submitted a bug report regarding “topic nuking”. Discourse fixed this really fast, but now, there are a few more bugs that @JonnyGamer and some others has found at [forum.gethopscotch.com](http://forum.gethopscotch.com).

Firstly, I have no idea whether these bugs are because of the configuration as I don’t are an admin, and if this isn’t a general software bug, you could just close the topic, I don’t mind.

The first bug can happen if you repeat the code `(any letter)<big><small><sub>`. This will cause posts to break like in this example topic:  
[https://forum.gethopscotch.com/t/test-topic-nukes-and-spamlikes-watch-this-jonny-gamer/40314/15?u=william04gamera](https://forum.gethopscotch.com/t/test-topic-nukes-and-spamlikes-watch-this-jonny-gamer/40314/15?u=william04gamera)

The second bug kind of breaks the tag system. I’ll quote @JonnyGamer’s “bug report”:

> @JonnyGamer:  
> When writing tags for your topic, write one of them as: ﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽﷽  
> ﷽ is the widest unicode character that fits into the forum. And since you are only allowed to have a tag be at max 20 characters, “﷽” is the widest for this form.

He also included a screenshot:

 ![](https://global.discourse-cdn.com/meta/original/3X/a/2/a2ce3c09dc32cf7f2e0e40b3e534a89718c9ee23.PNG)  
Once again, all credit goes to @JonnyGamer and anyone else involved in finding these bugs.

These are the bugs I consider as the most important ones, but there are a few more reported here:  
[https://forum.gethopscotch.com/t/official-guide-to-breaking-the-forum-keep-in-lounge-because-yall-regulars-are-trustworthy/40312?u=william04gamera](https://forum.gethopscotch.com/t/official-guide-to-breaking-the-forum-keep-in-lounge-because-yall-regulars-are-trustworthy/40312?u=william04gamera)  
Some bugs that I didn’t write about here that are in the topic above are due to configuration bugs in the forum itself, like the fact that words starting with f and ending with k are getting censored.

To reach the topic above, you have to be Regular on The Hopscotch Forum. I think that @techAPJ already have a leader account there, so he/she might be able to see and get more information about those bugs.

I hope that you at Discourse can fix this!

---

<div class="post-metadata">

### Author: ![JonnyGamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonnygamer/32/73086_2.png) [@JonnyGamer](https://meta.discourse.org/u/JonnyGamer)
#### Post date: [January 23, 2018, 7:13am UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/2 "2018-01-23T07:13:15Z")

</div>

Awesome topic! Thanks!

Yeah, we are learning of new bugs/glitches each day! Here is something else that I found interesting:

* * *

K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌

---

<div class="post-metadata">

### Author: ![JonnyGamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonnygamer/32/73086_2.png) [@JonnyGamer](https://meta.discourse.org/u/JonnyGamer)
#### Post date: [January 23, 2018, 7:14am UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/3 "2018-01-23T07:14:00Z")

</div>

> [@JonnyGamer](#):
>
> Awesome topic! Thanks!
> 
> Yeah, we are learning of new bugs/glitches each day! Here is something else that I found interesting:
> 
> * * *
> 
> K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌

 

> [@JonnyGamer](#):
>
> K

 
* * *
 

Quoting gets really wonky, too :/

---

<div class="post-metadata">

### Author: ![JonnyGamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonnygamer/32/73086_2.png) [@JonnyGamer](https://meta.discourse.org/u/JonnyGamer)
#### Post date: [January 23, 2018, 7:14am UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/4 "2018-01-23T07:14:57Z")

</div>

Last bug of all with this interesting idea:

* * *

When you add an \<s\> before the text, you get these weird bars in between each slashed word:

~~K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌 K​👌~~

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 23, 2018, 3:56pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/5 "2018-01-23T15:56:19Z")

</div>

Thanks for reporting these, the tag name exploit was definitely the worst one because it broke the page layout for everyone. I also fixed some of the issues with the big/small/sup/sub tags, so once Discourse is updated those won’t cause any more problems.

---

<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: [January 23, 2018, 4:27pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/6 "2018-01-23T16:27:29Z")

</div>

> [@JonnyGamer](#):
>
> When you add an \<s\> before the text, you get these weird bars in between each slashed word:

This one is not a bug. `<s>` is intended to create a strikethrough - a line through the words. It’s typically used to clearly show that something has been changed, like a ~~tyop~~ typo.

> **[HTML strikethrough element - HTML | MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/s)**
>
> The HTML element renders text with a strikethrough, or a line through it. Use the element to represent things that are no longer relevant or no longer accurate. However, is not appropriate when indicating document edits; for that, use the and ...

---

<div class="post-metadata">

### Author: ![William04GamerA](https://avatars.discourse-cdn.com/v4/letter/w/90db22/32.png) [@William04GamerA](https://meta.discourse.org/u/William04GamerA)
#### Post date: [January 23, 2018, 4:45pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/7 "2018-01-23T16:45:30Z")

</div>

Okay - that’s great! Thank you for fixing those bugs!

---

<div class="post-metadata">

### Author: ![JonnyGamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonnygamer/32/73086_2.png) [@JonnyGamer](https://meta.discourse.org/u/JonnyGamer)
#### Post date: [January 23, 2018, 5:03pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/8 "2018-01-23T17:03:31Z")

</div>

Ok, thank you!  
You might have seen this post after they fixed the bug. It originally looked like this:

 ![IMG_3133](https://global.discourse-cdn.com/meta/original/3X/1/2/1265f244c585f7a134885e1af263045aa301ee80.PNG)

There are weird bars in between of each slashed “k 👌”

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 23, 2018, 5:13pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/9 "2018-01-23T17:13:44Z")

</div>

That’s not too weird: there’s a space between each “k 👌”, and the `<s>` creates a strikethrough, so the bar is a strikethrough on a space. And since the space is outside of the `<sub>` tags, the space is higher than the text that comes after it.

---

<div class="post-metadata">

### Author: ![JonnyGamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonnygamer/32/73086_2.png) [@JonnyGamer](https://meta.discourse.org/u/JonnyGamer)
#### Post date: [January 23, 2018, 5:53pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/10 "2018-01-23T17:53:30Z")

</div>

Ah, ok, that makes sense (Still kid of weirded me out when I saw it first 😂)

---

<div class="post-metadata">

### Author: ![JonnyGamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonnygamer/32/73086_2.png) [@JonnyGamer](https://meta.discourse.org/u/JonnyGamer)
#### Post date: [January 23, 2018, 9:53pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/11 "2018-01-23T21:53:00Z")

</div>

Found another weird bug:

 
- ksksksksksksksk
- ◼◼◼◼◼
- jajajajkajak

 
* * *
 

Hmmm, on the discourse, it is a-ok

 
* * *
 

 ![IMG_3136](https://global.discourse-cdn.com/meta/original/3X/1/c/1c9840288cf3fbec09ba29707cdfec73431235b7.PNG)

---

<div class="post-metadata">

### Author: ![JonnyGamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonnygamer/32/73086_2.png) [@JonnyGamer](https://meta.discourse.org/u/JonnyGamer)
#### Post date: [January 23, 2018, 10:00pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/12 "2018-01-23T22:00:28Z")

</div>

Testing:

 
- @JonnyGamer  
 Kskskskskssks

---

<div class="post-metadata">

### Author: ![JonnyGamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonnygamer/32/73086_2.png) [@JonnyGamer](https://meta.discourse.org/u/JonnyGamer)
#### Post date: [January 23, 2018, 10:02pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/13 "2018-01-23T22:02:38Z")

</div>

Even weirder:

 
- @memorablechickenyay  
 Kskskskskssks 

- @memorablechickenyay  
 Kskskskskssks 

- @memorablechickenyay  
 Kskskskskssks 

- @memorablechickenyay  
 Kskskskskssks 

- @memorablechickenyay  
 Kskskskskssks 

- @memorablechickenyay  
 Kskskskskssks 

- @memorablechickenyay  
 Kskskskskssks 

- @memorablechickenyay  
 Kskskskskssks 

- @memorablechickenyay  
 Kskskskskssks 

- @memorablechickenyay  
 Kskskskskssks 

 
* * *
 

 ![IMG_3137](https://global.discourse-cdn.com/meta/original/3X/a/5/a5e37a01a4a074bba587a9176f079b4e7fe6bd37.PNG)

---

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [January 24, 2018, 12:14pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/28 "2018-01-24T12:14:42Z")

</div>

By the way: I’ve noticed that someone changed the tag style inside text fields. I really don’t like it. The old style has more white space on top and bottom. On the right and left side, I’m missing a little bit of grey space. It’s very irritating if tags are displayed on different ways 😉

 ![12](https://global.discourse-cdn.com/meta/original/3X/2/3/23b80c884e97dff526f71981bf782329ac89b1c9.png)

Sometimes I wish, there are more settings / style options for tags 😉

Update: Here is a second issue at the category page with the bullet point style:

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

---

<div class="post-metadata">

### Author: ![schungx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/schungx/32/70989_2.png) [@schungx](https://meta.discourse.org/u/schungx)
#### Post date: [January 24, 2018, 2:24pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/29 "2018-01-24T14:24:52Z")

</div>

Apparently this regression only happened recently. I upgrade to latest version and it starts showing up.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 24, 2018, 2:47pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/30 "2018-01-24T14:47:26Z")

</div>

Right, this is actually unrelated to font changes. It turns out that tags had no max-width restrictions, which allowed someone to break the layout of pages by making tags with characters like: ﷽. Now tags that are too long are truncated with CSS, and adding the ability to truncate caused some alignment changes.

@terraboss @schungx I’ll take a look at the bullet/box tag styles now and make sure those alignment issues are fixed.

---

<div class="post-metadata">

### Author: ![JonnyGamer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonnygamer/32/73086_2.png) [@JonnyGamer](https://meta.discourse.org/u/JonnyGamer)
#### Post date: [January 24, 2018, 11:18pm UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/31 "2018-01-24T23:18:47Z")

</div>

I found another bug with font sizes \<sub\>, but I ask you not to fix it because it’s _really cool_. With this glitch, you are able to overlap characters to create some interesting designs:

[https://forum.gethopscotch.com/t/create-your-own-emoticons-forum-glitch/40357](https://forum.gethopscotch.com/t/create-your-own-emoticons-forum-glitch/40357)

* * *
 

Now you can make little guys:

 

O  
°°  
- -  
, ,

 

( • •  
(OO)

 

^^  
-–  
(..  
^ )

 
* * *

I personally think it’s really cool, but it also allows weird stuff like this:

 

Hello hello hello  
Test test test test

 
* * *

Thanks!

---

<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: [May 1, 2018, 1:29am UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/32 "2018-05-01T01:29:13Z")

</div>

@awesomerobot is there anything else we need to do here? or should we close?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [May 1, 2018, 2:00am UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/33 "2018-05-01T02:00:38Z")

</div>

This is all set. The remaining items are weird things to do that really only break your own text.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [May 1, 2018, 2:00am UTC](https://meta.discourse.org/t/more-formatting-bugs-with-font-size-refactor/78726/34 "2018-05-01T02:00:40Z")

</div>


