inexplicable inline styles

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
kirinawust
Propeller Head
Posts: 19
Joined: Tue Nov 05, 2013 5:08 am

inexplicable inline styles

Post by kirinawust »

Hi Forum,
I am using Flare 2018 r2. My css includes styles like p.ResultatAntwort
Using these styles, Flare includes all their definitions inline, so I'm getting:
<p class="ResultatAntwort" MadCap:autonum="<span style="font-family: 'Wingdings';" class="mcFormatFamily"><span style="font-size: 12pt;" class="mcFormatSize">ð</span></span>  " >Text </p>

instead of
<p class="ResultatAntwort" >Text </p>

This behaviour has not been there in Flare 9, 10 and 11.
Is there an option switch where I can get rid of these inline styles?

Any hint is much appreciated.
Irina
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: inexplicable inline styles

Post by ChoccieMuffin »

Just checking - what does your code look like BEFORE you apply the style?
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
kirinawust
Propeller Head
Posts: 19
Joined: Tue Nov 05, 2013 5:08 am

Re: inexplicable inline styles

Post by kirinawust »

original code, for example:
<p class="Fliesstext">Text</p>

apply style:
<p class="Anweisung">Text</p>

save file, close file, reopen file:
<p class="Anweisung" MadCap:autonum="<span style="font-family: 'Arial';" class="mcFormatFamily"><span style="font-size: 11pt;" class="mcFormatSize">► </span></span>">Text</p>
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: inexplicable inline styles

Post by ChoccieMuffin »

I suspect it's something to do with how your autonumbering is applied. Do you have a particular autonum style for what you're using? I have a similar thing going on when I insert a cross-reference:

"For details see <MadCap:xref href="Running_on_another_machine.htm"><span style="color: Blue;" class="mcFormatColor">Running on another machine</span></MadCap:xref>."

It's not elegant, but I suspect it's "as designed", but you could try raising a bug for it, in case it's not supposed to chuck all that extra stuff in.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
kirinawust
Propeller Head
Posts: 19
Joined: Tue Nov 05, 2013 5:08 am

Re: inexplicable inline styles

Post by kirinawust »

The style is using autonumbering, but the inline coding is so much against the idea of using a css...
You are right, I will raise a bug, as I refuse to acknowledge this as "as designed" - and it wasn't the case in older Flare versions.

thx,
Irina
ChoccieMuffin
Senior Propellus Maximus
Posts: 2630
Joined: Wed Apr 14, 2010 8:01 am
Location: Surrey, UK

Re: inexplicable inline styles

Post by ChoccieMuffin »

Let us know what they say. If they do add it as a genuine bug, I'll raise it as well.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
kirinawust
Propeller Head
Posts: 19
Joined: Tue Nov 05, 2013 5:08 am

Re: inexplicable inline styles

Post by kirinawust »

sure, will do

Best regards from Berlin, Germany
kirinawust
Propeller Head
Posts: 19
Joined: Tue Nov 05, 2013 5:08 am

Re: inexplicable inline styles

Post by kirinawust »

Hi,
the bug has been documented as issue #149156
Post Reply