Opened 17 years ago
Last modified 16 years ago
#2118 reopened defect
list + code block formating breaks ...
Reported by: | rupert thurner | Owned by: | Jun Omae |
---|---|---|---|
Priority: | normal | Component: | TracWysiwygPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
a formatting like the following gets broken by wysiwyg editor:
- first
first block
- second
second block
and there the text continues
the source is
1. first {{ first block }} 1. second {{{ second block }} }}}
Attachments (0)
Change History (7)
comment:1 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 17 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
unfortunately, the newlines are still here, which prevents auto-numbering item lists. the result should be (used two {{ instead of three):
1. first {{ first block }} 1. second {{ second block }}
but it is
1. first {{ first block }} 1. second {{ second block }}
which makes the numbering start at one at every item.
comment:3 Changed 17 years ago by
It works for me. Please try clearing the browser cache or forcing reload (shift+reload).
comment:4 follow-up: 7 Changed 17 years ago by
When I test this by pasting in his example text, it displays and round-trips properly. However, if you try to construct his example in the editor itself it blows up very strongly.
What I did is this:
- Press numbered list
- Type "first" +
<enter>
- Select "code block" (note I got a bug here where the code block started with a * in it)
- Type "first block" +
<enter>
- Select "normal" style
- Press numbered list button
- Type "second block" +
<enter>
- Press numbered list button
- Select "code block" style
I got the really messed up text immediately in the editor (in wiki format):
{{ 1. First {{ First block }} 1. Second Block }} 1. First {{ First block }} 1. Second Block
comment:5 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
cannot reproduce the original thing, maybe it really was in our company proxy. sorry for bothering.
just small weirdnesses stay, trying to continue at the end of the list:
- indent code block in this numbered list does not work
- try to continue writing in "normal" after the last code block
- continued in next line
- marked the line as "normal"
- then above the code block the empty line was there again
comment:6 Changed 17 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
ui ... should i reopen it?
comment:7 Changed 16 years ago by
Replying to JasonWinnebeck:
I tried to test this again and it does behave differently (perhaps not correct but a lot better than when I last saw it), but I can't verify the wikitext generated because my browser freezes due to #3611. I'm not sure what causes #3611 except that apparently it happens on more things than just bullet lists.
(In [2759])