[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks norm
From: |
Colin Macdonald |
Subject: |
[Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs |
Date: |
Wed, 22 Apr 2015 12:45:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 |
URL:
<http://savannah.gnu.org/bugs/?44899>
Summary: generate_html: emdash hack breaks normal paragraphs
Project: GNU Octave
Submitted by: cbm
Submitted on: Wed 22 Apr 2015 12:45:49 PM GMT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
In texi2html.m I found this hack which effects *all* emdashes:
## Hack around 'makeinfo' bug that forgets to put <p>'s before function
declarations
text = strrep (text, "—", "<p class=\"functionfile\">");
E.g., I have the following in my texinfo with ascii emdashes "---":
%% The second form---with no output argument---is different; it
%% attempts to find @strong{all} instances of symbols with the same
This gives the following poor rendered in my browser:
The second form
with no output argument
is different; it attempts to find all instances of symbols with the same
and the HTML is messed up by the hack:
<p>The second form</p><p class="functionfile">with no output argument</p><p
class="functionfile">is different; it
attempts to find <strong>all</strong> instances of symbols with the same
So the hack is a bit over-reaching... Actually AFAICT it does nothing useful
because the makeinfo seems to put the Function File inside "<dl><dt>" tags.
Should I remove this hack?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44899>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs,
Colin Macdonald <=
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Carnë Draug, 2015/04/22
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Julien Bect, 2015/04/22
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Julien Bect, 2015/04/22
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Julien Bect, 2015/04/22
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Julien Bect, 2015/04/22
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Julien Bect, 2015/04/22
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Colin Macdonald, 2015/04/22
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Mike Miller, 2015/04/22
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Julien Bect, 2015/04/23
- [Octave-bug-tracker] [bug #44899] generate_html: emdash hack breaks normal paragraphs, Julien Bect, 2015/04/23