Onebox in preview keeps forgetting oneboxes


(Sam Saffron) #1
  • Add a onebox eg: https://discuss.samsaffron.com

  • Preview shows onebox

  • Keep typing, preview hides onebox (yet onebox class is still there)

:frowning: :frowning:

Assigning to @eviltrout for next week.


(Robin Ward) #3

This is not as serious as it seems. jQuery will sometimes return href values with a trailing slash for root domains even if the href attribute didn’t have that. I assume oneboxing root domains is rare and that’s why we haven’t seen this before.

This commit fixes it:


(Robin Ward) #4