Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Replace token with HTML #2844

Open
Open
@dontub

Description

Describe the problem

In a project we had the requirement to replace tokens with HTML and inherit the style from the paragraph and text run. The HTML code can be converted with \PhpOffice\PhpWord\Shared\Html::addHtml(), though there's no method to replace tokens with the generated elements, yet. We implemented the functionality here.

Are you interested in having this functionality in PHPWord itself? Then we could make a PR for this.

Describe the expected behavior

Priority

  • I want to crowdfund the feature (with @algora-io) and fund a community developer.
  • I want to pay the feature and fund a maintainer for that. (Contact @Progi1984)

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

        AltStyle によって変換されたページ (->オリジナル) /