Opened 11 years ago
Last modified 10 years ago
#10431 confirmed Bug
BR tag replacement seems to be to agressive.
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.0 Beta |
Keywords: | Oracle | Cc: |
Description
- Open enterkey sample and test below code with each enter mode:
<p> </p> <br /> <p> </p>
- Paste code in source mode, switch to wysiwyg and once again to source.
Results:
Enter_BR: No change and no error
<p> </p> <br /> <p> </p>
Enter_Div: Br and second P gets wrapped in div. I'm not sure if this is error or not. Perhaps this is how this mode should work?
<p> </p> <div><br /> <p> </p> </div>
Enter_P: You get 4 P tags. This is definitely an error as there should be maximum 3 p tags. It looks like code responsible for br replacement matches one P tag to many.
<p> </p> <p> </p> <p> </p> <p> </p>
Problem in enter mode P can be reproduced from CKEditor 4 beta.
As for Div behaviour, guys please leave a comments.
Change History (2)
comment:1 Changed 11 years ago by
Status: | new → confirmed |
---|
Other issues that seem to be related to this one: #12209, #10497, #11392.