Patch #9692 » tcpdf.rb_r8000.patch
vendor/plugins/rfpdf/lib/tcpdf.rb (working copy) | ||
---|---|---|
3532 | 3532 |
@page = base_page; |
3533 | 3533 |
@x = base_x + @tdwidth; |
3534 | 3534 |
@y = base_y; |
3535 |
elsif (@pre_state == true and element.length > 0) |
|
3536 |
Write(@lasth, unhtmlentities(element), '', fill); |
|
3535 | 3537 |
elsif (element.strip.length > 0) |
3536 |
if @pre_state != true |
|
3537 |
element.gsub!(/[\t\r\n\f]/, ""); |
|
3538 |
element.gsub!(/ /, " "); |
|
3539 |
end |
|
3538 |
element.gsub!(/[\t\r\n\f]/, ""); |
|
3539 |
element.gsub!(/ /, " "); |
|
3540 | 3540 |
Write(@lasth, unhtmlentities(element), '', fill); |
3541 | 3541 |
end |
3542 | 3542 |
end |