Handle tags with content