[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/makeinfo cmds.c,1.20,1.21
From: |
dirt |
Subject: |
texinfo/makeinfo cmds.c,1.20,1.21 |
Date: |
Tue, 13 Jan 2004 20:55:09 +0100 |
Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv21714/makeinfo
Modified Files:
cmds.c
Log Message:
2004-01-13 Alper Ersoy <address@hidden>
* makeinfo/cmds.c (cm_code, cm_r): increment and decrement in_html_elt
when inserting the class attribute to avoid space chars being replaced
with entities.
Index: cmds.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/cmds.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** cmds.c 13 Jan 2004 19:05:01 -0000 1.20
--- cmds.c 13 Jan 2004 19:55:07 -0000 1.21
***************
*** 533,540 ****
if (html)
{
if (arg == START)
! add_word ("<span class=\"dmn\">");
! else
! add_word ("</span>");
}
else if (docbook)
--- 533,543 ----
if (html)
{
+ insert_html_tag (arg, "span");
+
if (arg == START)
! {
! output_paragraph_offset--;
! insert_string (" class=\"dmn\">");
! }
}
else if (docbook)
***************
*** 833,838 ****
--- 836,845 ----
if (arg == START)
{
+ extern int in_html_elt;
+
output_paragraph_offset--;
+ in_html_elt++;
add_word_args (" class=\"%s\">", command);
+ in_html_elt--;
}
}
***************
*** 1199,1203 ****
{
output_paragraph_offset--;
! add_word (" class=\"roman\">");
}
}
--- 1206,1210 ----
{
output_paragraph_offset--;
! insert_string (" class=\"roman\">");
}
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/makeinfo cmds.c,1.20,1.21,
dirt <=