Skip to content

Commit

Permalink
Item8993: fixed unqouted HTML attributes
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/LatexModePlugin@16644 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
ScottHoge authored and ScottHoge committed Apr 2, 2013
1 parent 9d417bc commit 151f2bf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/Foswiki/Plugins/LatexModePlugin/CrossRef.pm
Expand Up @@ -224,7 +224,7 @@ sub handleFloat
$txt2 .= $input;
}
$txt2 = '<a name="'.$opts{'label'}.'"></a>' .
'<table width="100%" border=0>'."\n" .
'<table width="100%" border="0">'."\n" .
$txt2 .
'</table>';

Expand Down
8 changes: 4 additions & 4 deletions lib/Foswiki/Plugins/LatexModePlugin/Render.pm
Expand Up @@ -350,15 +350,15 @@ COLORS
$LMPc{'eqn'}++;

$txt = '<a name="'.$opts{'label'}.'"></a>'.
'<table width="100%" border=0><tr>'."\n".
'<td width=10>&nbsp;</td>'.
'<table width="100%" border="0"><tr>'."\n".
'<td width="10">&nbsp;</td>'.
'<td width="100%" align="center">'.
"<img src=\"$image_name\" $str alt=\"$escaped\" /></td>".
"<td width=10>(".
'<td width="10">('.
'<a href="#'.$opts{'label'}.'" title="'.$opts{'label'}.'">'.
$LMPc{'eqn'}.
'</a>'.
")</dt></tr></table>\n";
")</td></tr></table>\n";

if ( exists( $eqnrefs{ $opts{'label'} } ) ) {
$LMPc{'error_catch_all'} .=
Expand Down

0 comments on commit 151f2bf

Please sign in to comment.