Revert "html: fixed another bug"

This reverts commit 3849a198d4f86a1eddd37c2b87272c529e9f0cbd.
html: fixed another bug (properly)