Skip to content

i18n's ph value doesn't allow single quotes, only double quotes #15318

@robertorfischer

Description

@robertorfischer

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

<span i18n="description">begin message {{param // i18n(ph = "name")}} end</span>

In i18n's ph value, only double quotes are allowed. Single quotes are not and the placeholder is ignored.

Expected behavior

Expected to be able to use single quotes too.

Minimal reproduction of the problem with instructions

  • Angular version: 4.0.0-rc.5

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions