Restore full url in preview's reflinks. Refs #552.
Replace some .startsWith('>>') with explicit comparison
Merge remote-tracking branch 'upstream/master'