Yurii.sio2
260bb75fc2
Fix TemplateProcessor :: fixBrokenMacros; ( #1502 )
...
* Fix TemplateProcessor :: fixBrokenMacros;
* add unit test for fixBrokenMacros
2018-12-07 23:22:04 +01:00
troosan
9f28ece4e9
Fix path to test document
2018-11-16 22:40:37 +01:00
Martin Hanzl
7eb19c8f76
add test case for issue #1253
2018-10-11 09:40:12 +02:00
troosan
e07c6559a9
adapt test
2018-07-19 00:52:22 +02:00
troosan
affccc7937
Merge branch 'improve-cloneBlock-regex' of https://github.com/nicoder/PHPWord into fix_clone_block
2018-07-17 08:03:35 +02:00
troosan
77f2b16bc1
update copyright to 2018
2018-03-08 23:52:25 +01:00
Nicolas Dermine
4105a9aad1
improve `cloneBlock` regex
...
it wrongly matched `<w:pPr` when looking for `<w:p`
in that case the cloned block would not be valid XML,
and so the generated docx document could not be opened by Word
adding the `\b` word boundary to the regex fixes this.
the accompanying unit test failed with this message when trying to load
the generated file:
```
ErrorException: DOMDocument::loadXML(): Opening and ending tag mismatch:
p line 2 and body in Entity, line: 2
```
This might solve issues such as #681 and #664 .
2018-02-02 17:03:49 +01:00
Gabriel Caruso
ba6c03e06d
Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase
2017-11-09 06:36:47 -02:00
troosan
0459670a9c
Enable php-cs-fixer in build & fix resulting warnings ( #1099 )
...
* enable php 7.1 build
* upgrade to dompdf/dompdf 0.8.*
* update phpunit & hide output during tests
* run code coverage analysis on 1 build only
* Add php-cs
* Update Copyright
2017-11-04 22:44:12 +01:00
Roman Syroeshko
2bcfacfbf9
Updated copyright.
2016-07-31 12:35:08 +04:00
Roman Syroeshko
fb863cdf21
https://github.com/PHPOffice/PHPWord/issues/335 .
2016-07-30 16:02:23 +04:00
Roman Syroeshko
ec3c62b051
#483 . Output escaping for OOXML.
2016-06-04 20:06:37 +04:00
Roman Syroeshko
d57973693d
#618 .
2016-04-23 19:49:10 +04:00
Roman Syroeshko
a621447993
Improved coverage for `\PhpOffice\PhpWord\Element\Section` ( #665 ).
2016-01-23 21:35:04 +04:00
Roman Syroeshko
43fb23d896
Copyright update.
2015-12-05 21:26:01 +04:00
Roman Syroeshko
ef3c3b8a9d
Reorganized unit tests.
2015-11-15 13:33:05 +04:00