D web site facelift
Jacob Carlborg
doob at me.com
Sat Jul 3 12:23:13 PDT 2010
On 2010-07-03 20.06, Walter Bright wrote:
> Walter Bright wrote:
>> Michel Fortin wrote:
>>> On a side note, I've noticed on other websites that Google
>>> Translation doesn't attempt to translate code inside a <code>
>>> element. So I would suggest the website uses <pre><code> ...
>>> </code></pre> for its code blocks, and <code>...</code> for keywords
>>> and other code-related terms in the text. That could actually make
>>> the translation useful.
>>
>> This must be new, it didn't use to do that. I'll take advantage of it!
>
> Sadly, it doesn't work, as it strips all the newlines out, putting your
> code all on one line. Bah :-(
Sounds like you're missing the pre tags.
--
Jacob Carlborg
More information about the Digitalmars-d-announce
mailing list