Allow new line in invoice metadata details #4941
Closed
learntheropes
started this conversation in
Ideas / Feature Requests
Replies: 2 comments 5 replies
-
With dashboard you mean the invoice detail page? Asking because we do not show the meta data on the store's dashboard. Maybe to clarify, can you post a redacted screenshot of where this would need fixing? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
New lines in metadata properties are escaped when shown on the invoice details page (but they are kept if you retrieve the invoice with greenfield api).
Please consider adding
white-space: pre-wrap;
to the css of the relevant div, so the field is shown correctly.My use case is that one of the metadata field is a PGP public key. If the merchant copies the key as shown now is unsalable, since the new line is a requirement in the PGP public key.
As of now, I'm forced to build a merchant dashboard just for that, when she/he could have all the needed info under the btcpay dashboard.
My use case is the PGP public key where the new line is a must, but the same can apply to any metadata property provided using a textarea (multiline) input field, where the merchant should see it properly formatted, as typed by the buyer.
I'm not a security expert, but I don't think this have any implication.
Beta Was this translation helpful? Give feedback.
All reactions