Changeset 665


Ignore:
Timestamp:
11/05/2011 08:14:02 PM (7 months ago)
Author:
ofer
Message:

Avoid translating the viewport meta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/core/parser.php

    r644 r665  
    521521 
    522522        // Meta content (keywords, description) are also good places to translate (but not in robots... or http-equiv) 
    523         if ($node->tag == 'meta' && $node->content && ($node->name != 'robots') && ($node->{'http-equiv'} != 'Content-Type')) 
     523        if ($node->tag == 'meta' && $node->content && ($node->name != 'robots') && ($node->name != 'viewport')&& ($node->{'http-equiv'} != 'Content-Type')) 
    524524                $this->parsetext($node->content); 
    525525 
Note: See TracChangeset for help on using the changeset viewer.