the issue was that non-markup was being passed to BS4