Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setValue "&" Error #333

Closed
devioarts opened this issue Aug 14, 2014 · 4 comments
Closed

setValue "&" Error #333

devioarts opened this issue Aug 14, 2014 · 4 comments

Comments

@devioarts
Copy link

Hello,
i'm using PHPWord for templates and it works really good but when i try to write "&" char, generated document won't open.

$document->setValue('OBJ-EX-15', ' Johnson & Johnson');

same as

$document->setValue('OBJ-EX-15', ' Johnson&Johnson');

Have anyone same bug?

@ghost
Copy link

ghost commented Sep 14, 2014

Hello, @andy-man.

Could you please unzip your broken OOXML document, find "/word/document.xml" in it and post XML which is around your "Johnson & Johnson" phrase?

By the way, which PhpWord version do you use?

@ghost
Copy link

ghost commented Oct 3, 2014

Any news, @andy-man?

@gmta
Copy link
Contributor

gmta commented Jan 11, 2016

Please see the following issues for a more detailed insight on this topic:

I am positive that you will be able to solve the issue using the information provided above. Good luck!

@ghost ghost added this to the v0.13.0 milestone Jul 9, 2016
@ghost ghost self-assigned this Jul 9, 2016
@ghost
Copy link

ghost commented Jul 9, 2016

#671 (comment).

@ghost ghost closed this as completed Jul 9, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants