What happened?
Description
I get an error when setting a custom field as title format. This way I can't access the entry type anymore.
Below are steps to reproduce just like I did things. No idea if the details have anything to do with the actual issue.
Here is a screenshot of the Error message:

Steps to reproduce
- Create an entry type with the default field as title format (so keep the toggle on)
- Save the entry
- Create a matrix field that has that entry type
- Assign the matrix field to a section
- Fill in the normal matrix field (I did it all in card view)
- Save the section/entry
- Add another title field (plain text with option for line break)
- Make the field required
- Set the handle (in my case 'customTitle') as title format
- Go and change the content of that title to 'Primary Colours' with a linebreak in stead of the space.
- Save the content and an error appears
I have no idea if the error occured before or after adding the linebreak.
The error looks like a parsing or HTML issue?
Expected behavior
Shows the customTitle as the title of the Entry type.
Actual behavior
Gets an error message like above. I can go in the CMS, I just can't get to a moment where this card is being rendered, neither the content of that card. Not as individual page, and not as card
Craft CMS version
5.0.0-beta.3
PHP version
8.2
Operating system and version
OSX Sonoma 14.2.1
Database type and version
mariadb - 10.4
Image driver and version
No response
Installed plugins and versions
- CKEditor: 4.0.0-beta.7
- CP Field Inspect: 2.0.0-beta.1
- Cookies: 5.0.0-beta.1
- 2 Custom inhouse plugins that don't do anything special. They won't be the reason this happen
- Minify: 5.0.0-beta.2
- Vite: 5.0.0-beta.2

What happened?
Description
I get an error when setting a custom field as title format. This way I can't access the entry type anymore.
Below are steps to reproduce just like I did things. No idea if the details have anything to do with the actual issue.
Here is a screenshot of the Error message:

Steps to reproduce
I have no idea if the error occured before or after adding the linebreak.
The error looks like a parsing or HTML issue?
Expected behavior
Shows the customTitle as the title of the Entry type.
Actual behavior
Gets an error message like above. I can go in the CMS, I just can't get to a moment where this card is being rendered, neither the content of that card. Not as individual page, and not as card
Craft CMS version
5.0.0-beta.3
PHP version
8.2
Operating system and version
OSX Sonoma 14.2.1
Database type and version
mariadb - 10.4
Image driver and version
No response
Installed plugins and versions