2

I need to typeset a Perl Mason HTML template file. Unfortunately, there is no minted format for it, so I used standard HTML:

\documentclass[12pt]{article}
\usepackage[a4paper]{geometry}
\geometry{tmargin=2cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{minted}
\begin{document}
\begin{minted}[breaklines, tabsize=2]{html}
<div class="grid_9 alpha content_collum">
    <& /Comp/component/breadcrumbs.msn, links => [
    { name => $ARGS{title} },
        ] &>
&lt;h1 class=&quot;cmn_header main_head_line&quot;&gt;
    &lt;% $ARGS{title} %&gt;
&lt;/h1&gt;

</div> \end{minted} \end{document}

Unfortunately, I get strange red rectangles around "<&", "<" and "&" symbols sometimes:

enter image description here

Maybe, they are marking HTML errors. Is it possible to avoid them?

user4035
  • 5,035
  • 6
  • 40
  • 57

0 Answers0