]> Untitled Git - lemmy-ui.git/commit
Expanded the RegEx to check if the title contains new line caracters. Should fix...
authorSomeoneStoleMyNickname <twit@arcor.de>
Fri, 4 Aug 2023 14:44:03 +0000 (16:44 +0200)
committerGitHub <noreply@github.com>
Fri, 4 Aug 2023 14:44:03 +0000 (10:44 -0400)
commit2531d051912f410fc949cc6eadcab020442064bb
tree772ea40e88a728017d08ce90d63655f98e46545a
parent8edf69559e88c77249cf341646842cc04f6e8c66
Expanded the RegEx to check if the title contains new line caracters. Should fix issue #1962 (#1965)

* Expanded the RegEx to check if the title contains new line caracters.
Should fix the issue #1962.
Also added Comments for clarity.

* ran yarn and changed according to recommendations
src/shared/utils/helpers/valid-title.ts