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