added <ref> to cf. <foreign>
fixed styles for editor
output <strong> only when n attribute is present
small improvements in editor