.. _important-contract-field-office-hours-render-as-html: ================================================= Important: List items render office hours as HTML ================================================= Description =========== :file:`Resources/Private/Partials/Profile/Contract/Field.html` printed the office hours of a contract as escaped text. The frontend editor of `EXT:academic_persons_edit` stores office hours as HTML, so the list, list and detail, card, selected profiles and selected contracts elements, and the contacts element of `EXT:academic_contacts4pages`, showed the markup itself, for example ``
Tuesday 10:00 to 12:00
``, wherever office hours were shown. That is the case by default: office hours are one of the fields an element without a :guilabel:`Show only selected Fields` selection renders, and the contacts element renders those default fields as shipped. Plain text office hours from the backend form or an import lost their line breaks in the same place. The field now renders office hours as HTML. Line breaks become ``