add textarea auto new line code example Example: python add new line from textarea {{item.note | safe}} note2 = note.replace('\n', '<br>')