therealglazou / bluegriffon

BlueGriffon, the Web editor
Mozilla Public License 2.0
300 stars 71 forks source link

BlueGriffon 2 still breaks Font Awesome #16

Open garretwilson opened 8 years ago

garretwilson commented 8 years ago

In Bug #8 you claimed this was fixed in BG 2. But it still exists in bluegriffon-2.0b2.win32.

If I enter the following source code, as recommended by http://fontawesome.io/icon/font-awesome/ :

<p><a href="http://fontawesome.io/"><i class="fa fa-font-awesome" aria-hidden="true"></i> Font Awesome</a> by Dave Gandy.</p>

BlueGriffon 2 deletes the empty <i></i> element altogether and gives this:

<p><a href="http://fontawesome.io/"> Font Awesome</a> by Dave Gandy.</p>

This is loss of data. Please fix this data corruption.

PatH007 commented 7 years ago

I have the same kind of problem with that.

<a href="http://www.mywebsiite.com">
<i class="fa fa-home" aria-hidden="true"></i>
</a>

The icone doesn't show at all in web page view...

garretwilson commented 7 years ago

This is still broken in 2.3.1.

@therealglazou , you claimed at https://github.com/therealglazou/bluegriffon/issues/23#issuecomment-276120817 that:

Both the preference and a fix to preserve empty inlines were pushed to the trunk.

But BlueGriffon in certain certain circumstances is still removing FontAwesome fonts. Here's an example:

  1. Start with the following HTML5 source: <p><cite><i class="fa fa-youtube" aria-hidden="true"></i> YouTube Link</cite> (Example)</p>
  2. In the Wysiwyg editor, add a link to "Example", such as http://www.example.com/.
  3. You'll see that as soon as you add the link, BlueGriffon removes the <i></i> tag, leaving <p><cite> YouTube Link</cite> (<a href="http://www.example.com/">Example</a>)</p>.

This is still broken. This bug results in lost data.

garretwilson commented 6 years ago

@therealglazou , this bug is over a year old and results in lost data. I wonder if you've forgotten about it? Is there some further information you need from us to understand the issue? Let me know what I need to provide. Thanks.

garretwilson commented 5 years ago

Are there any plans at all to fix this? Do you realize that BlueGriffon loses data and erases our content when we try to use it with Font Awesome using the conventional and recommended syntax?

garretwilson commented 5 years ago

Interestingly BlueGriffon will remove <i class="fas fa-home"></i> but it will not remove <span class="fas fa-home"></span>, so I guess I'll use the latter as a workaround for now.

kaymo4 commented 5 years ago

I confirm this is still a bug. Quite unacceptable for a top notch editor! Font awesome is very useful and I do tno appreciate that Blue Griffon is removing my awesome tags. please Assign it and fix it.