Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popover content is showing escaped html code #27

Open
jteplitz opened this issue Oct 25, 2012 · 5 comments
Open

Popover content is showing escaped html code #27

jteplitz opened this issue Oct 25, 2012 · 5 comments
Labels

Comments

@jteplitz
Copy link
Member

If I put an enter in the dialog box. It reads as a br tag. See http://i.imgur.com/rNvkv.png

@jteplitz
Copy link
Member Author

Weirdly only after a refresh. We must be escaping the code to stop it from running...

@mattdailis
Copy link
Member

Before refreshing the page, this is still a bug (there's still br and div). After refreshing, it looks fine.

@mattdailis mattdailis reopened this Feb 4, 2013
@jteplitz
Copy link
Member Author

jteplitz commented Feb 4, 2013

So Close...

On Mon, Feb 4, 2013 at 5:58 PM, Matt [email protected] wrote:

Before refreshing the page, this is still a bug (there's still
). After refreshing, it looks fine.


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-13104852.

Jason Teplitz

@mattdailis
Copy link
Member

One more odd note about this issue: When you edit an old event (i.e. after it's been refreshed) that has linebreaks and whatnot, the html just disappears. So:
"ABC
def
GHI"
shows up as "ABCdefGHI" in the edit-description box.

But at the same time, before refreshing, when you edit an event that has linebreaks (which currently erroneously show up as "br div" in the popover), it is correctly rendered in the edit-description box

It's psycho

@jteplitz
Copy link
Member Author

jteplitz commented Feb 4, 2013

Weird. I wonder if we're not escaping the html in the eventEdit function?

On Mon, Feb 4, 2013 at 6:04 PM, Matt [email protected] wrote:

One more odd note about this issue: When you edit an old event (i.e. after
it's been refreshed) that has linebreaks and whatnot, the html just
disappears. So:
"ABC
def
GHI"
shows up as "ABCdefGHI" in the edit-description box.

But at the same time, before refreshing, when you edit an event that
has linebreaks (which currently erroneously show up in the popover), it is
correctly rendered in the edit-description box

It's psycho


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-13105106.

Jason Teplitz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants