Opened 13 years ago
Last modified 10 years ago
#7819 confirmed Bug
Wrong Font size using BBCode plugin
Reported by: | Krzysztof Studnik | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.6 |
Keywords: | Cc: |
Description
Environment
CKE 3.6, Opera 11, IE6/7, Chrome
TC
- Load BBCode sample
- clear content
- type "default"
- change font size to 200, type 200
- change font size to 150, type 150 See that newly typed text is bigger, than previous, and element path contains two size
- repeat for other font sizes
Result
the size tags, are not closed after changing font size to other values:
default[size=200]200[size=150]150[size=120]120[size=100]100[size=50]50[size=30]30[size=300]300[size=200]200[/size][/size][/size][/size][/size][/size][/size][/size]
Attached screen
Expected
default[size=200]200[/size][size=150]150[/size][size=120]120[/size][size=100]100[/size][size=50]50[/size][size=30]30[/size][size=300]300[/size][size=200]200[/size]
Attachments (1)
Change History (4)
Changed 13 years ago by
Attachment: | zrzut_ekranu-10.png added |
---|
comment:1 Changed 13 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 13 years ago by
This's something definitely need a fix, while it currently depends on #7498.
It happens because percent values are used to set the font size (by design).
The following code:
is translated into:
It looks like certains systems do not support nested
[size]
tags so it looks like something that could be improved in the future.