That'll do. HTML markup is rarely, if ever, encountered in the texts
I'm translating. Thanks a lot (:

On Sep 9, 2:30 pm, Jeremy Geerdes <[email protected]> wrote:
> The failure to preserve newlines is a result of the API assuming it's dealing 
> with HTML, which does not require newlines. If you want to preserve them, you 
> can specify format=text, but that will result in the API attempting to 
> translate any HTML markup that you have in the string. Alternatively, you 
> could replace any newlines with some HTML tag that you will then replace with 
> newlines after the translation is returned.
>
> Jeremy R. Geerdes
> Effective website design & development
> Des Moines, IA
>
> For more information or a project quote:http://jgeerdes.home.mchsi.com
> [email protected]
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan 
> Church!
>
> On Sep 9, 2010, at 3:17 AM, egasimus wrote:
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to