Modified the way editor() outputs its result