as-com / wp-katex

Integrates the fast KaTeX LaTeX typesetter with WordPress
https://andrewsun.com/projects/wp-katex/
GNU General Public License v2.0
9 stars 5 forks source link

spurious <p> and </p> tags rendered #17

Closed iandoug closed 5 years ago

iandoug commented 5 years ago

Hi

Am new user and also new to Latex. Did a simple test of [latex] {\color{red}fire} [/latex]

which renders as

fire

fire is in red as required. WordPress 5.0.3

Thanks.

Is this normal or am I doing something wrong?

iandoug commented 5 years ago

Okay read the < /br> issue, this is same, solved by putting everything in one line as [latex] {\color{red}fire}[/latex]

Maybe should add a note somewhere or give simple usage examples. Closing.