Opened 16 years ago
Closed 13 years ago
#2547 closed Bug (invalid)
Mediawiki and <pre> tags with FCKeditor
Reported by: | CKL | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Project : MediaWiki+FCKeditor | Version: | |
Keywords: | Confirmed | Cc: |
Description
Hi
It seems that there is again a bug with <pre> tag in mediawiki Test
At http://mediawiki.fckeditor.net/index.php/Sandbox
enter the following text, then switch several times between wikitext
<pre> Hello Wiki User Hello Wiki User Hello Wiki User </pre> <pre> Bonjour Utilisateur Wiki Bonjour Utilisateur Wiki Bonjour Utilisateur Wiki Bonjour Utilisateur Wiki </pre>
Change History (7)
comment:1 Changed 16 years ago by
Component: | General → Project : MediaWiki+FCKeditor |
---|---|
Keywords: | <pre> removed |
comment:2 Changed 16 years ago by
Keywords: | Confirmed added |
---|
comment:3 Changed 16 years ago by
comment:4 Changed 15 years ago by
I am facing the same issue. The issue is generated when two pre tag are posted and both are one after one. like
<pre> Test test </pre> <pre> test2 test3 test333 </pre>
To resolved the issue I have did some changes in FCKeditorParser.body.php at following location and it works for me.
Change Line No: 568 From
if ( !$this->mInPre ) {
To
if ( !$this->mInPre || ($preCloseMatch==1 && $preOpenMatch==1) ) {
Add Code after Line No: 642 or after this code block
if ( $preOpenMatch and !$preCloseMatch ) { $this->mInPre = true; }
Add This code block
if ( $preOpenMatch and $preCloseMatch ) { $this->mInPre = true; }
Change Line No: 688 From
if($preCloseMatch && $this->mInPre) {
To
if($preCloseMatch && $this->mInPre && !$preOpenMatch) {
May this help
Regards Mitul
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 15 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The ticket is supposed to be closed only when the SVN code get fixed. Thanks for your suggestions though.
comment:7 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
MediaWiki and FCKEditor are no longer supported. Closing the ticked as invalid.
Hello
have you some news regarding this issue.
Thanks a lot
Christian