Skip to content

Expecting Unicode escape sequence \uXXXX. (1026:64) #182

Open
@SolankiYogesh

Description

@SolankiYogesh

Describe the bug
Transformation failed in some cases with the error

To Reproduce

    <div class="w-50 width-100 position-relative">
    <div style="display: flex;
    position: absolute;
    bottom: calc(100% - 15px);
    width: calc(100% - 30px);
    justify-content: space-between;
    align-items: baseline;">
    <img id="signBuyerImage" ${Utility.isEmpty(data?.buyer_signature) ? `src="${data?.buyer_signature}"` : ''}  style="max-width: 171px;max-height: 60px;object-fit: contain;width:auto; visibility: ${Utility.isEmpty(data?.buyer_signature) ? 'visible' : 'hidden'};"  />
    <span id="signBuyerTime" style="">${
      Utility.isEmpty(data?.buyer_signature_timestamp)
        ? moment(data?.buyer_signature_timestamp).format('MM/DD/YYYY hh:mm A')
        : ''
    }</span>
    </div>
       <input id="signBuyer" disabled class="flex-input w-100">
       <label class="mb-5">Buyer</label>
      
       <input disabled  class="flex-input w-100">
       <label class="mb-5">Buyer</label>
    </div>
    <div class="w-50 width-100 position-relative">
    <div style="display: flex;
    bottom: calc(100% - 15px);
    width: calc(100% - 30px);
    position: absolute;
    justify-content: space-between;
    align-items: baseline;">
    <img id="signSellerImage" ${Utility.isEmpty(data?.seller_signature) ? `src="${data?.seller_signature}"` : ''} style="max-width: 171px;max-height: 60px;object-fit: contain;width:auto; visibility: ${Utility.isEmpty(data?.seller_signature) ? 'visible' : 'hidden'};"  />
    <span id="signSellerTime" style="">${
      Utility.isEmpty(data?.seller_signature_timestamp)
        ? moment(data?.seller_signature_timestamp).format('MM/DD/YYYY hh:mm A')
        : ''
    }</span>
    </div>
       <input id="signSeller" disabled class="flex-input w-100">   
       
       <label class="mb-5">Seller</label>
      
       <input disabled  class="flex-input w-100">
       <label class="mb-5">Seller</label>
    </div>
 </div>

image

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

Platform:

  • Version of [react-native, expo]: 0.74.2
  • Version of this package: 0.0.12

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions