openoffice-l10n mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Weir <robw...@apache.org>
Subject Re: what is "&amp"
Date Wed, 04 Sep 2013 12:38:10 GMT
On Tue, Sep 3, 2013 at 11:02 AM, Vladislav Stevanovic
<stevanovicvladislav@gmail.com> wrote:
> String: "Reporting Bugs &amp; Issues"
>
> File:readlicense_oo/docs/readme.po
>  Locations:readme.xrm#reportbugs.reportbugs.readmeitem.text
>
> What represent " &amp" from string? is this variable?
> --

It should be &amp;   (the semicolon at the end is important)

Since HTML markup uses characters like < > " ' & for special things we
need to use a different way to express a literal use of these symbols
in HTML.

So if we want to say "S&P500" in an HTML header it would be illegal to say:

<h1>S&P500</h1>

Instead we must say:

<h1>S&amp;P500</h1>

The other commons one you might see are:

&quot; for a flat quotation mark "
&lt; for a less than sign <
&gt; for a greater than sign >
&apos; for an apostrophe '

Regards,

-Rob

> rr,
> Wlada

---------------------------------------------------------------------
To unsubscribe, e-mail: l10n-unsubscribe@openoffice.apache.org
For additional commands, e-mail: l10n-help@openoffice.apache.org


Mime
View raw message