| @@ 1033-1037 (lines=5) @@ | ||
| 1030 | // Strip leading spaces from the RTL text |
|
| 1031 | $countLeadingSpaces = 0; |
|
| 1032 | while ($textSpan != '') { |
|
| 1033 | if (substr($textSpan, 0, 1) == ' ') { |
|
| 1034 | $countLeadingSpaces++; |
|
| 1035 | $textSpan = substr($textSpan, 1); |
|
| 1036 | continue; |
|
| 1037 | } |
|
| 1038 | if (substr($textSpan, 0, 6) == ' ') { |
|
| 1039 | $countLeadingSpaces++; |
|
| 1040 | $textSpan = substr($textSpan, 6); |
|
| @@ 1038-1042 (lines=5) @@ | ||
| 1035 | $textSpan = substr($textSpan, 1); |
|
| 1036 | continue; |
|
| 1037 | } |
|
| 1038 | if (substr($textSpan, 0, 6) == ' ') { |
|
| 1039 | $countLeadingSpaces++; |
|
| 1040 | $textSpan = substr($textSpan, 6); |
|
| 1041 | continue; |
|
| 1042 | } |
|
| 1043 | break; |
|
| 1044 | } |
|
| 1045 | ||