The rule is not considering fields. Notice two wavy lines before and after.
I can confirm this problem with LO extension.
Examples:
- formulas in the text -> “Mehr als ein Leerzeichen hintereinander”
- formulas in the text with comma after it -> “Nur hinter einem Komma steht ein Leerzeichen, …”
- formula at the beginning of a sentence -> “Dieser Satz fängt nicht mit einem großgeschriebenen Wort an.”
- [literature entry] -> “Hinter einer öffnen Klammer steht nie ein Leerzeichen.”
…
Additional: If you use bullets/enumerations it also tells you to start with a word with capital first letter.
Maybe it could be solved similar to how we ignore footnotes. The relevant code for that is at
languagetool/Main.java at master · languagetool-org/languagetool · GitHub, contributions are welcome.