Skip to content

Commit

Permalink
Change markup in meeting fixtures to html
Browse files Browse the repository at this point in the history
'report' field is a `ContentField`, and is thus sanitized and then parsed through BeautifulSoup. BeautifulSoup would then raise warnings.
  • Loading branch information
ivarnakken committed Jul 28, 2022
1 parent cfa7b98 commit 70e3918
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions lego/apps/meetings/fixtures/development_meetings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
fields:
title: Webkommøte
location: Webkomkontoret
start_time: '2016-09-30T16:15:00+00:00'
end_time: '2016-10-01T02:00:00+00:00'
report: '# Plebkomworkshop! Halla damer, dette var et bra event.'
start_time: "2016-09-30T16:15:00+00:00"
end_time: "2016-10-01T02:00:00+00:00"
report: "<h2>Plebkomworkshop!</h2> <p>Halla damer, dette var et bra event.</p>"
report_author: 1
- model: meetings.Meeting
pk: 2
fields:
title: Samf
location: hehe
start_time: '2016-10-30T16:15:00+00:00'
end_time: '2017-10-01T02:00:00+00:00'
report: '# xdddd hehe hva skjer a ;)'
start_time: "2016-10-30T16:15:00+00:00"
end_time: "2017-10-01T02:00:00+00:00"
report: "<p>xdddd hehe hva skjer a ;)</p>"
report_author: 1

- model: meetings.MeetingInvitation
Expand Down
18 changes: 9 additions & 9 deletions lego/apps/meetings/fixtures/test_meetings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
fields:
title: Bra møte
location: TBA
start_time: '2016-10-01T17:15:00+00:00'
end_time: '2016-10-01T18:00:00+00:00'
report: '# Fresh\n\n halla hva skjer a?'
start_time: "2016-10-01T17:15:00+00:00"
end_time: "2016-10-01T18:00:00+00:00"
report: "<h2>Fresh</h2> <p>halla hva skjer a?</p>"
report_author: 1

- model: meetings.Meeting
pk: 2
fields:
title: Genvors
location: EL5
start_time: '2017-02-01T17:15:00+00:00'
end_time: '2017-02-01T23:59:00+00:00'
report: '#Genvors\n\nVi fikk en fin gjeng til neste HS :)'
start_time: "2017-02-01T17:15:00+00:00"
end_time: "2017-02-01T23:59:00+00:00"
report: "<h2>Genvors</h2> <p>Vi fikk en fin gjeng til neste HS :)</p>"
report_author: 3

- model: meetings.Meeting
pk: 3
fields:
title: Tomt møte
location: "null"
start_time: '2010-02-01T17:15:00+00:00'
end_time: '2011-02-01T23:59:00+00:00'
report: 'tomp'
start_time: "2010-02-01T17:15:00+00:00"
end_time: "2011-02-01T23:59:00+00:00"
report: "tomp"
report_author: 3

0 comments on commit 70e3918

Please sign in to comment.