ReactMarkdown outputting "Y-m-d H:i:s" incorrectly #1335
Unanswered
takaaki12353491
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Welcome @takaaki12353491! 👋 It's hard to comment specifically because you haven't shared that you tried and what your expected result it. My assumption is that you're looking for something like :test{example="Y-m-d H:i:s"} Which will add an attribute example with the date format as it's value. |
Beta Was this translation helpful? Give feedback.
1 reply
-
It sounds like you are in control of the markdown. The format is `Y-m-d H:i:s`. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm currently using ReactMarkdown to render Markdown, but I'm encountering an issue where the date string "Y-m-d H:i:s" is being output as "Y-m-d H:i" by using remarkDirective. Specifically, "Y-m-d H:i:s" is output as "Y-m-d H:i<s></s>", with the <s> tag causing problems.
Is there a way to correctly handle this without escaping the string?
Beta Was this translation helpful? Give feedback.
All reactions