HomePhabricator

[explorer] Fix line break issues for Script Decoded section on transaction page

Description

[explorer] Fix line break issues for Script Decoded section on transaction page

Summary:
The OP_ tags were getting line breaks in undesireable places as outlined in https://reviews.bitcoinabc.org/T3112
To resolve I added a script to loop over the words in the string and wrap each with a span tag so we can display them each on their own line
Open to other suggestions if this a weird way to display them

Test Plan: run the app and see if it works and looks good. Example transaction /tx/254cd17f9166aaa35581a44e99fb69fe1fe638ad938ba9b1f3ce7b0f2b6451c6

Reviewers: #bitcoin_abc, bytesofman, Mengerian

Reviewed By: #bitcoin_abc, bytesofman, Mengerian

Subscribers: Mengerian, bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D13746

Details

Provenance
johnkuneyAuthored on Apr 24 2023, 18:27
johnkuneyPushed on Apr 24 2023, 18:27
Reviewer
Restricted Project
Differential Revision
D13746: [explorer] Fix line break issues for Script Decoded section on transaction page
Parents
rABCe95c6a7be250: depends: Pin clang search paths for darwin host
Branches
Unknown
Tags
Unknown