Non-breaking spaces ignored in pasted HTML

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Joseph Zitt
Propeller Head
Posts: 35
Joined: Sun Mar 10, 2019 3:36 am

Non-breaking spaces ignored in pasted HTML

Post by Joseph Zitt »

I have HTML screenshots. When I paste them into Flare snippets, Flare ignores non-breaking spaces before the first characters on a line, used so columns of text are shown correctly.

In the snippet below, for example, the number "43" should line up with the "42" above it, as it does in browsers. Instead, it appears at the start of the line, to the left.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd">
    <head>
        <link href="../../../TableStyles/HTML Screenshot.css" rel="stylesheet" MadCap:stylesheetType="table" />
    </head>
    <body>
        <TABLE style="font-family: 'Courier New'; padding: 2px;border: 1.5px solid      #b8b894;border-radius: 8px; border-collapse: collapse; border-spacing: 0;">
            <tr>
                <td style="font-family: 'Courier New', Courier, monospace;      vertical-align:middle; background-color:#ffffff; width:auto"><span style="COLOR:#000000">​</span> <span style="COLOR:#000000">JCSAFUPD​</span> <span style="COLOR:#000000">                      ​</span> <span style="COLOR:#ffffff; background-color:#ff0000;font-weight:bold;"> Safe Update ​</span> <span style="COLOR:#000000">          ​</span> <span style="COLOR:#000000">iSecurity/Safe-Update​</span> <span style="COLOR:#000000"><br />					                        ​</span> <span style="COLOR:#ff0000">Prevent / Regulate File Editors​</span> <span style="COLOR:#000000">    ​</span> <span style="COLOR:#000000">System:​</span> <span style="COLOR:#000000">​</span> <span style="COLOR:#000000">S520    ​</span> <span style="COLOR:#000000"><br />					​</span> <span style="COLOR:#27ba4c">Protect                        ​</span> <span style="COLOR:#000000">      ​</span> <span style="COLOR:#27ba4c">Reporting & Working​</span> <span style="COLOR:#000000">                    <br />					​</span> <span style="COLOR:#000000"> 1. Protect DB Files         ​</span> <span style="COLOR:#000000">        ​</span> <span style="COLOR:#000000">41. Work with Active Tickets​</span> <span style="COLOR:#000000">           <br />					​</span> <span style="COLOR:#000000"> 5. Definitions​</span> <span style="COLOR:#000000">                      ​</span> <span style="COLOR:#000000">42. Display history               ​</span> <span style="COLOR:#000000">     <br />​					                                       ​</span> <span style="COLOR:#000000">43. Display updates​</span> <span style="COLOR:#000000">                    <br />					​</span> <span style="COLOR:#27ba4c">Ad-Hoc Tickets​</span> <span style="COLOR:#000000">                       ​</span> <span style="COLOR:#000000">46. Display File Journal​</span> <span style="COLOR:#000000">               <br />					​</span> <span style="COLOR:#000000">11. Set Ad-Hoc Ticket​</span> <span style="COLOR:#000000">                ​</span> <span style="COLOR:#000000">47. Display Journal​</span> <span style="COLOR:#000000">                    <br />						                                                                                <br />					​</span> <span style="COLOR:#27ba4c">Tickets by Work-Order​</span> <span style="COLOR:#000000">                ​</span> <span style="COLOR:#27ba4c">Related Products​</span> <span style="COLOR:#000000">                       <br />					​</span> <span style="COLOR:#000000">21. Work with Work-Orders​</span> <span style="COLOR:#000000">            ​</span> <span style="COLOR:#000000">61. Application Journal​</span> <span style="COLOR:#000000">                <br />					​</span> <span style="COLOR:#000000">22. Set Ticket by Work-Order ​</span> <span style="COLOR:#000000">                                                 <br />						                                                                                <br />					​</span> <span style="COLOR:#27ba4c">General Tickets Activities​</span> <span style="COLOR:#000000">           ​</span> <span style="COLOR:#27ba4c">Maintenance​</span> <span style="COLOR:#000000">                            <br />					​</span> <span style="COLOR:#000000">31. Display Ticket​</span> <span style="COLOR:#000000">                   ​</span> <span style="COLOR:#000000">81. System Configuration​</span> <span style="COLOR:#000000">               <br />					​</span> <span style="COLOR:#000000">32. End Ticket        ​</span> <span style="COLOR:#000000">               ​</span> <span style="COLOR:#000000">82. Maintenance Menu    ​</span> <span style="COLOR:#000000">               <br />					​</span> <span style="COLOR:#000000">39. Work with Permission Requests​</span> <span style="COLOR:#000000">    ​</span> <span style="COLOR:#000000">89. Base Support        ​</span> <span style="COLOR:#000000">               <br />						                                                                                <br />					​</span> <span style="COLOR:#000000">Selection or command                  ​</span> <span style="COLOR:#000000">                                        <br />					​</span> <span style="COLOR:#000000">===>​</span> <span style="COLOR:#000000"><U>                                                                          <br />					                                                                               </U>​</span> <span style="COLOR:#000000"><br />					​</span> <span style="COLOR:#002db3">F3=Exit   F4=Prompt   F9=Retrieve   F12=Cancel                                ​</span> <span style="COLOR:#000000"><br />					​</span> <span style="COLOR:#002db3">F13=Information Assistant  F16=AS/400 main menu                                <br />					​</span> <span style="COLOR:#27ba4c">                                                                              ​</span> <span style="COLOR:#000000"><br />				​</span></td>
            </tr>
        </TABLE>
    </body>
</html>
Post Reply