Syntax highlighting does not appear until page refresh


(Justin Gordon) #1

See attached image.

This is from

http://parley.rubyrogues.com/t/how-to-have-a-concern-be-parameterized/2928/7

Odd that proper colors show in preview. But not when saved.


Minor bug: syntax highlighting is not reapplied after editing a post
(Sam Saffron) #2

Looks fine now, I wonder if this happens right after you make a post

def bla
 a_test
end

(Sam Saffron) #3

@eviltrout confirmed, we changed something here. After you make a post syntax highlighting goes missing till you refresh the page.


(Kane York) #4

This bug recieved a duplicate report.


(Jeff Atwood) #5

Unless it is super hard we should try to fix this for 1.2 @eviltrout.


(Robin Ward) #6

Fixed this in master, thanks!

https://github.com/discourse/discourse/commit/a519fd5bcf0f62b465cf7e7aed2b1661aa0ea14a


(Jeff Atwood) #7