'Content cropped instead of wrapping

This might be a dumb question, but in this page (link) why doesn't h2 element wrap as h1 does , meaning when browser zoomed the text in h2 goes outside while h1 wraps to the next line. What am I missing here? Thanks!



Solution 1:[1]

If you inspect it in h2 the generator adds   like white space, so it is only one word.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 palmarbg