Skip to content

Error message content corrupted in notification due to being rendered as markup #2777

@Ebola-Chan-bot

Description

@Ebola-Chan-bot

Describe the problem

When attempting to assign a class template pointer type to an incompatible pointer type, the two asterisks identifying the pointer types are paired to "make the intermediate characters italicized" in the compilation error message.

Image

Note the error message displayed in the pop-up window: the text between the two asterisks is italicized, but the two asterisks themselves are not displayed.

To reproduce

template<typename>
struct TypeTemplate{};
void setup() {
  TypeTemplate<int> const a;
  int* const b = &a;
}
void loop() {
}

Expected behavior

The two asterisks should be displayed normally, not as font controllers.

Arduino IDE version

2.3.6

Operating system

Windows

Operating system version

11

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions