You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If all that a wrapper contains is a placeholder (no text content), we should not create a wrapper and should instead merge its component(s) into the placeholder value, e.g. consider:
<ptranslate="yes">Hello <b>{user}</b></p>
Ideally that should yield the following (note the lack of wrapper):
"Hello %{user}"
The value for %{user} would be <b>{user}</b>
The text was updated successfully, but these errors were encountered:
upon adding a failing test i realized it actually does this already, except that, the placeholder is poorly named (e.g. <b>{user}</b> => %{b_user}) ... so maybe we just need better inferred placeholders
Spawned from #3
If all that a wrapper contains is a placeholder (no text content), we should not create a wrapper and should instead merge its component(s) into the placeholder value, e.g. consider:
Ideally that should yield the following (note the lack of wrapper):
"Hello %{user}"
The value for
%{user}
would be<b>{user}</b>
The text was updated successfully, but these errors were encountered: