Opened 9 years ago

Closed 7 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 9 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 9 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 7 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 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy