-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
This is:
- a bug report
- a feature request
- not a usage question (ask them on https://stackoverflow.com/questions/tagged/phpword)
Expected Behavior
When adding internal link via Html::addHtml with a tag like <a href="#anchor">link to anchor</a> I'm expecting to get an intra-doc link.
Current Behavior
Currently there is no link at all, only the content link to anchor
How to Reproduce
<?php
require __DIR__ . '/vendor/autoload.php';
$phpWord = new \PhpOffice\PhpWord\PhpWord();
$section = $phpWord->addSection();
PhpOffice\PhpWord\Shared\Html::addHtml($section, '<a href="#anchor">link to anchor</a>');Context
- PHP version: 7
- PHPWord version: master
omarkasem
Metadata
Metadata
Assignees
Labels
No labels