Prevent chapter to section names collision. Fixing images src on preview too.