Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/LaTeXML/Post/MathML.pm
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,14 @@ sub pmml_maybe_resize {
my $s = $$attr{style};
my $style = 'border-color: ' . $color;
$$attr{style} = ($s ? $s . '; ' . $style : $style); } }

# Preserve href attribute for links in math mode
if (ref $result && $result->[0] =~ /^m:/) {
my $href = $node->getAttribute('href');
my $attr = $$result[1];
$$attr{href} = $href if $href;
}

return $result; }

sub filter_row {
Expand Down
3 changes: 1 addition & 2 deletions lib/LaTeXML/resources/CSS/LaTeXML.css
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,7 @@ table.ltx_eqn_eqnarray tr.ltx_eqn_lefteqn + tr td.ltx_align_right { min-width:2e
li.ltx_item > .ltx_tag {
display:inline-block; margin-left:-1.5em; min-width:1.5em;
text-align:right; }
.ltx_item .ltx_tag + .ltx_para {
display:inline-block; vertical-align:top;}
.ltx_item .ltx_tag + .ltx_para,
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the purpose of this change?

.ltx_item .ltx_tag + .ltx_para .ltx_p {
display:inline; }
.ltx_item > .ltx_para > .ltx_p:first-child {
Expand Down
Loading