Opened 14 years ago

Closed 12 years ago

#6165 closed Bug (invalid)

Using "Insert/Edit source code button" will generate not so clean wikitext source code.

Reported by: josephsieh Owned by:
Priority: Normal Milestone:
Component: Project : MediaWiki+FCKeditor Version: FCKeditor 2.6.6
Keywords: Cc:

Description (last modified by Tobiasz Cudnik)

Bug in MediaWiki+FCKeditor project.

For example, when you use the "Insert/Edit Source Code" button to create the following wikitext, it will generate

<source lang="cpp">int main(int argc, char* argv[]) {
    cout << "a + b = 1" << endl; 
    return 0;
}</source> 

where it should be in the format of

<source lang="cpp">
int main(int argc, char* argv[]) {
    cout << "a + b = 1" << endl; 
    return 0;
}
</source> 

Change History (3)

comment:1 Changed 14 years ago by Tobiasz Cudnik

Description: modified (diff)
Keywords: insert source code removed
Status: newpending

You mean there shouldn't be linebreak after first source tag ?

comment:2 Changed 14 years ago by Frederico Caldeira Knabben

Component: GeneralProject : MediaWiki+FCKeditor
Status: pendingnew

It looks like clear what the reported wanted to have... line breaks after <source> and before </source>.

comment:3 Changed 12 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

FCKeditor was retired and is no longer supported. All active development was moved to its successor, CKEditor 3.x, that is a fully mature and far superior product. We recommend you upgrade as soon as possible.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy