Fixed the routing for notes and the display on devices show page using word_wrap.