Skip to content

HTML to Word File conversion #1913

@ayushishah-easternts

Description

@ayushishah-easternts

Describe the Bug

We are using this package in a Laravel Ecosystem and when creating a word document we are facing error in MS Word software as below
Screenshot 2020-07-31 at 2 29 46 PM

Steps to Reproduce

Please provide a code sample that reproduces the issue.

<?php
require __DIR__ . '/vendor/autoload.php';

$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection();
$section->...

Expected Behavior

A clear and concise description of what you expected to happen.

Current Behavior

What is the current behavior?

Context

Please fill in your environment information:

  • PHP Version:
  • PHPWord Version:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions