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