Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Characters get encoded when copying a set with html

Đang mở
#11,958 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
laravel, php
Lĩnh vực
frontend

Hướng nghiên cứu

Start by reproducing the reported behavior in a Bard field containing a set with a Code field: add HTML, then copy or drag the set to another field or entry. Trace the copy/drag path for that set; done means the HTML characters remain unencoded in the copied content.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bard fieldtypes
Bug description

Whenever you copy or drag a set that includes html to another field or another entry, it encodes html characters.

How to reproduce

Create a set with a Code field inside of a Bard field. Add some html to the code field then try to copy it. It will encode the html characters, resulting in something like the image below.

Image
Logs

Environment
Environment
Application Name: Not a Tesla App
Laravel Version: 10.48.29
PHP Version: 8.2.8
Composer Version: 2.8.10
Environment: production
Debug Mode: OFF
URL: www.notateslaapp.com
Maintenance Mode: OFF

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: mysql
Logs: stack / single
Mail: postmark
Queue: sync
Session: database

Statamic
Addons: 1
Sites: 2 (Not a Tesla App, Rivian Wave)
Stache Watcher: Disabled
Static Caching: Disabled
Version: 5.58.1 PRO

Statamic Addons
statamic/eloquent-driver: 4.25.2

Statamic Eloquent Driver
Asset Containers: file
Assets: file
Blueprints: eloquent
Collection Trees: file
Collections: eloquent
Entries: eloquent
Forms: eloquent
Global Sets: eloquent
Global Variables: file
Navigation Trees: file
Navigations: eloquent
Revisions: eloquent
Sites: file
Taxonomies: eloquent
Terms: eloquent
Tokens: file
Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Ngôn ngữ chính
PHP
Star
4.9k
Fork
647
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
103

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của statamic/cms

Tất cả issue của statamic/cms

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.