Changeset 611
- Timestamp:
- 01/30/2011 03:47:41 PM (16 months ago)
- File:
-
- 1 edited
-
trunk/WordPress/plugin/transposh/core/parser.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/WordPress/plugin/transposh/core/parser.php
r605 r611 105 105 public $default_lang = false; 106 106 /** @var string Contains the iso of the source language - if a lang attribute is found, assumed to be en by default */ 107 public $srclang = 'en';107 public $srclang; 108 108 private $inbody = false; 109 109 /** @var hold fact that we are in select or other similar elements */ … … 863 863 $result = array(); 864 864 // create our dom 865 $this->html = str_get_html( $string);865 $this->html = str_get_html('<span lang="xx">' . $string . '<span>'); 866 866 // mark translateable elements 867 867 $this->translate_tagging($this->html->root);
Note: See TracChangeset
for help on using the changeset viewer.
