Opened 12 years ago
Closed 11 years ago
#11187 closed defect (fixed)
Wiki syntax rendering: lists with letters are converted to numbers
Reported by: | schlamar | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Milestone: | 1.0.2 |
Component: | wiki system | Version: | 1.0.1 |
Severity: | normal | Keywords: | |
Cc: | stein.somers@… | Branch: | |
Release Notes: |
Fix wrong rendering list with letters in wiki to list with numbers in html. |
||
API Changes: | |||
Internal Changes: |
Description
Input:
a. 1 b. 2 s. x
Output:
- 1
- 2
- x
Attachments (0)
Change History (10)
comment:1 by , 12 years ago
Component: | rendering → ticket system |
---|
comment:2 by , 12 years ago
Component: | ticket system → wiki system |
---|---|
Milestone: | → next-stable-1.0.x |
Funny indeed.
comment:3 by , 12 years ago
It seems that the issue is introduced in r10534….
-
trac/htdocs/css/ticket.css
diff --git a/trac/htdocs/css/ticket.css b/trac/htdocs/css/ticket.css index c482dee..17e181f 100644
a b div.comment ul { list-style: disc } 159 159 div.comment ul ul, div.comment ol ul { list-style: circle } 160 160 div.comment ul ul ul, div.comment ol ul ul { list-style: square } 161 161 div.comment ul ol ul, div.comment ol ol ul { list-style: square } 162 div.comment ol { list-style: decimal }163 162 164 163 /* Comment editor */ 165 164 #trac-comment-editor { margin-left: 2em; margin-bottom: 1em }
comment:4 by , 11 years ago
Cc: | added |
---|
comment:5 by , 11 years ago
Milestone: | next-stable-1.0.x → 1.0.2 |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:6 by , 11 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
follow-up: 8 comment:7 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Forgot to comment earlier on that ticket, but if you remove that rule, an ordered list in threaded comment mode will show up with the lower-right arrow (inreply.png) as its bullet… (see for example demo-1.0:ticket:2105#comment:2, disable the CSS rule manually in the browser as that site is not running with r11859).
follow-up: 9 comment:8 by , 11 years ago
Replying to cboos:
Forgot to comment earlier on that ticket, but if you remove that rule, an ordered list in threaded comment mode will show up with the lower-right arrow (inreply.png) as its bullet… (see for example demo-1.0:ticket:2105#comment:2, disable the CSS rule manually in the browser as that site is not running with r11859).
Oh, sorry. I have not confirmed "threaded comments".
Worked again. After the following patch, works well. I've confirmed threaded comments and non-threaded comments with Firefox 22, Chrome 29 beta and IE 8.
-
trac/htdocs/css/ticket.css
diff --git a/trac/htdocs/css/ticket.css b/trac/htdocs/css/ticket.css index 17e181f..7e18e20 100644
a b 132 132 ul.children { 133 133 margin-top: 1.5em; 134 134 padding-left: 2em; 135 list-style-image: url(../inreply.png);136 135 } 136 ul.children, ul.children ul.children { list-style-image: url(../inreply.png) } 137 ul.children ul, ul.children ol { list-style-image: none } 137 138 ul.children > li.child { 138 139 padding-left: .5em; 139 140 margin-bottom: 1.5em; … … ul.children > li.child { 155 156 #changelog h3, #ticketchange h3 { box-shadow: none } 156 157 } 157 158 158 div.comment ul { list-style: disc }159 div.comment ul ul, div.comment ol ul { list-style: circle }160 div.comment ul ul ul, div.comment ol ul ul { list-style: square }161 div.comment ul ol ul, div.comment ol ol ul { list-style: square }162 163 159 /* Comment editor */ 164 160 #trac-comment-editor { margin-left: 2em; margin-bottom: 1em } 165 161 #trac-comment-editor div.trac-resizable { width: 100% }
comment:9 by , 11 years ago
Replying to jomae:
After the following patch, works well.
Yep, I've tested it as well, works great. Thanks!
comment:10 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Ah, this issue affects only ticket comments.
Same issue in this Trac instance. The following is actually
s. x
: