Admin: Fix editor defaulting to bbcode on copy / child (jQuery attr now has to use prop instead). Add trimming to htmlspecialchars function.