Skip to content

Angle brackets (chevrons) dropped from plain text fields #2119

@jackmaninov

Description

@jackmaninov

Is there an existing issue for this?

  • I have searched the existing issues

Version of Corteza

2024.9.0

Current Behavior

I have an application that requires a user be able to enter an email configuration value into a record, e.g.
Application No-Reply <noreply@example.com>

However after saving the record the opening angle bracket and everything afterwards is truncated. I assume this is being stripped because of something to do with the Rich Text Editor (which I do not have enabled for this field).

The only success I have had in escaping these characters is using \u003c and \u003e and then relying on downstream systems to parse this back into angle brackets, but ideally my users would not have to be subjected to this.

Expected Behavior

Users can enter text with angle brackets and they are stored in the record. Corteza should handle any escaping necessary to handle angle brackets internally.

Steps To Reproduce

  1. Create a module with a text record field.
  2. Create a record with something similar to Application No-Reply <noreply@example.com> in the text field
  3. Corteza truncates the field.

Environment and versions

Brave Version 1.78.97 Chromium: 136.0.7103.93 (Official Build) (64-bit)
Pop!_OS 22.04 LTS

Anything else?

No response

Metadata

Metadata

Assignees

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions