[Framers] Save As HTML, character tags, HTML mapping table, and extra line feed/hard returns

Robert Lauriston robert at lauriston.com
Tue Jun 13 08:35:21 PDT 2017


I don't believe there's any way to configure Save as HTML. It's legacy
code and not very useful.

Try running the HTML through a pretty-print utility such as HTML Tidy.

On Tue, Jun 13, 2017 at 8:22 AM, Patrick Edwards <edwards at iodp.tamu.edu> wrote:
>
> It isn't, meaning it isn't a technical problem. It's something I have
> to address, and that's all I can say about it.
>
>>>> Robert Lauriston <robert at lauriston.com> 6/13/2017 10:00 AM >>>
> Why is that a problem?
>
> On Tue, Jun 13, 2017 at 7:41 AM, Patrick Edwards
> <edwards at iodp.tamu.edu> wrote:
>>
>> Hi,
>>
>> I have a question about the HTML mapping table in FrameMaker
> reference
>> pages and the Save As HTML function. I find that when I Save As
> HTML,
>> FrameMaker inserts a hard return after every opening and closing tag
>> mapped to Character Designer formats. In other words, anything I've
>> tagged Superscript or Subscript ends up like this in the HTML
> output:
>>
>> SO<sub>
>> 4
>> </sub>
>> <sup>
>> 2−
>> <sup>
>>
>> Is there a way to eliminate that extra hard return at Save As HTML
>> export?
>>
>> I know I can search and replace in a text editor, but I'd rather fix
>> the problem at source if possible. I know I should be using HTML5
>> Publishing output, we're moving that way but we're not there yet.


More information about the Framers mailing list