Can you tell if there is any issue with codepen? Because i tested the remove p tag in this website https://ideone.com/fork/62buxj and it works fine. But it keeps adding closing p tag in codepen.
I also used regex to replace single quotes but seems i’m doing it wrong.
For example:
“Every new thing you make will be (should be) the nicest thing you’ve made so far, because you’re learning and getting better with each and every new project.”
it’s transformed to:
“Every new thing you make will be (should be) the nicest thing you’ve made so far, because you’re learning and getting better with each and every new project.</p>”
It also cuts the string when it finds semicolon when posting to twitter.
For example: “The conclusion of design flows naturally from the data; we should not shrink from it; we should embrace it and build on it.”
becomes: "The conclusion of design flows naturally from the data
I searched the forum but seems i’m the first having this issue. When transfering the string to the twitter page it cuts it if find semicolon or quote. Any insight on what it might be?
Thanks again for your suport. I’m working on the weather app in the meanwhile.