Bug 220951

Summary: blogilo removes arguments from tags
Product: [Unmaintained] blogilo Reporter: Karol Krizka <kkrizka>
Component: generalAssignee: Golnaz Nilieh <g382nilieh>
Status: RESOLVED FIXED    
Severity: normal CC: bastien.jansen, g382nilieh, mehrdad.momeny
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Karol Krizka 2010-01-02 07:20:43 UTC
Version:           1.0.1 (using Devel)
Compiler:          gcc version 4.4.2 (Gentoo 4.4.2 p1.0) 
OS:                Linux
Installed from:    Compiled sources

Blogilo removes arguments from some tags when switching between the visual and text editors. For example, I write the following in the HTML editor:
<pre lang="php">echo "Hello World!"</pre>
This is the syntax to be used with the wp-syntax plugin for highlighting code in posts.

Then I go to the visual editor to write up a description of what the code does. When I return to the HTML editor, I see the following:
<pre>echo "Hello World!"</pre>
Comment 1 Golnaz Nilieh 2010-01-03 16:46:58 UTC
Blogilo supports just a limited set of arguments for tags, including usual arguments like style or link target, etc.
We may improve this in future, but for now, you can solve the problem if you add the unsupported arguments in the html editor, and submit the post before you switch to the visual editor.
Comment 2 Mehrdad Momeny 2010-11-28 10:40:40 UTC

*** This bug has been marked as a duplicate of bug 215344 ***
Comment 3 Mehrdad Momeny 2010-11-28 10:42:31 UTC
Fixed in latest releases, By using a webkit based text editor instead of qt text editor
Comment 4 Bastien Jansen 2010-12-19 11:33:11 UTC
Could you please tell me in which version the problem is fixed? I'm also facing the same problem with <code lang="java"> tags, and I would really appreciate if Blogilo could handle it.

(I'm currently using version 1.0.1 on KDE 4.5.1)
Comment 5 Mehrdad Momeny 2010-12-19 12:28:12 UTC
You should use the one distributed with KDE 4.6 i.e. Blogilo 1.1
I know, it didn't release as stable, but beta releases are available and quite stable :)