Opened 14 years ago

Last modified 13 years ago

#6165 closed Bug

Using "Insert/Edit source code button" will generate not so clean wikitext source code. — at Version 1

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 (1)

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 ?

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