Yes, using inline `<span>`  elements fixed this issue.