# Footnote separator is on the wrong direction in Hebrew documents

I am using XeLaTeX and polyglossia for Hebrew typesetting. I have found out that when I am using footnotes (when Hebrew is the default language), they appear on the right direction, but the footnote separator appears in the wrong direction.

This is probably an old issue. I saw this answer where a code from LyX is being compiled, and the footnote separator is on the left side. However, they don't treat it as a problem in that thread.

So here I am providing a minimal working example in which the footnote separator is in the wrong side. This is probably a bug (of polyglossia?), but even if that's the situation, I'll be glad to know (a) who should I report to about it, and (b) is there any workaround you can think of.

Here's the code:

\documentclass{article}
\usepackage{polyglossia}
\setdefaultlanguage{hebrew}
\newfontfamily\hebrewfont[Script=Hebrew]{David CLM}

\begin{document}
הערת שוליים הנה הערה המופיעה בשוליו\footnote{בדרך כלל בתחתיתו} של ספר או מאמר.
\end{document}


And this is the output:

• I just stumbled upon the same issue. Have you found anything? Mar 20, 2016 at 13:26
• It seems to be already reported for Persian - github.com/reutenauer/polyglossia/issues/5 . The bug is from 2011, and still opened... Mar 20, 2016 at 14:27

The workaround is simple: just add \rightfootnoterule