fix typo
preview form UI polish: handle URLs with fragments and missing scheme