fixes bugs with html escaped links

Fixes
opf#924
opf#926
opf#930

Also fixes loading of timeline enumerations in development mode. For a fix of enumerations in general look at #173