For some reason an = sign appears at the beginning of every line in an algorithm block when using hebrew and algorithm2e. Removing hebrew removes the line.
For example:
\documentclass{article}
\usepackage{algorithm2e}
\usepackage[hebrew,english]{babel}
\begin{document}
\begin{algorithm}
\KwData{$x$}
$y \gets x$\\
\KwOut{$y$}
\end{algorithm}
\end{document}
Renders:
While:
\documentclass{article}
\usepackage{algorithm2e}
\usepackage[english]{babel}
\begin{document}
\begin{algorithm}
\KwData{$x$}
$y \gets x$\\
\KwOut{$y$}
\end{algorithm}
\end{document}
Gives
Any ideas?
Just in case you're thinking there's something wrong with my install, try it yourself on sharelatex
Edit: Added sharelatex public example
Edit(2): Found possible related post algorithmic + babel with Hebrew conflict: Numbering missing