oasegips / sigil

Automatically exported from code.google.com/p/sigil
GNU General Public License v3.0
0 stars 0 forks source link

Add Clips erase existing xhtml tags in book view. #2364

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
0. Look for some text fragment which have xhtml tags in code view.
1. Select that text fragment in book view.
2. Add a clip surrounding the selected text.

What is the expected output? What do you see instead?
e.g. (apply <span class='highlighted'> to some text)

Expected output: 
<p>a paragraph with a <span class='highlighted'> code tag inside <code> $ 
command -options </code></span></p>
Instead:
<p>a paragraph with a <span class='highlighted'> code tag inside $ command 
-options </span></p>

What version of the product are you using? On what operating system?
Sigil V.0.7.2 - ArchLinux X64 - kernel 3.10.5-1-ARCH

Original issue reported on code.google.com by FlorezG....@gmail.com on 12 Aug 2013 at 2:41

GoogleCodeExporter commented 9 years ago
Clips is mainly designed for Code View.  In Book View you can only use clips 
for very basic situations - as one effect is that it will remove other html 
tags in the text.

Original comment by daveheil...@gmail.com on 12 Aug 2013 at 4:24

GoogleCodeExporter commented 9 years ago
I understand. Thanks for answer.

Original comment by FlorezG....@gmail.com on 12 Aug 2013 at 7:37