Rev 223 | Rev 230 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 223 | Rev 224 | ||
---|---|---|---|
Line 119... | Line 119... | ||
119 | '“\\1”', |
119 | '“\\1”', |
120 | '<i lang="' . $source_lang . '">\\1</i>', |
120 | '<i lang="' . $source_lang . '">\\1</i>', |
121 | '/\\1', |
121 | '/\\1', |
122 | ' ~', |
122 | ' ~', |
123 | ), |
123 | ), |
124 | strip_tags($matches['transl'])); |
124 | $matches['transl']); |
125 | 125 | ||
126 | echo ($is_example ? "<i lang='$source_lang'>" : "<b lang='$source_lang'>") |
126 | echo ($is_example ? "<i lang='$source_lang'>" : "<b lang='$source_lang'>") |
127 | . $phrase |
127 | . $phrase |
128 | . ($is_example ? '</i>' : '</b>') |
128 | . ($is_example ? '</i>' : '</b>') |
129 | . " <span lang='$target_lang'>" . $transl . '</span>'; |
129 | . " <span lang='$target_lang'>" . $transl . '</span>'; |