Fix problem with empty string in do_transpose
Improve inline note handling with css