Why wont the product description attribute, when set to TextArea, convert line breaks to

Magento v2.4.2

My product description attribute was set to TextArea, and its worked fine for the last year. New lines where rendered as
in HTML on the product page. I decided to change it to TextEditor so I can use HTML. I didnt realize when I did that, all my non HTML descriptions would lose all their formatting and new lines or line breaks would no longer render as
and my descriptions would look like one giant run on paragraph.

So I changed the attribute back to TextArea thinking it would revert back. It didnt. There is still new line or line breaks in all the product descriptions, so the data is still here. Its just not rendering like it used to.

I have cleared the cache, redeployed etc etc…any ideas?

Prevent WordPress from convert ✔ (& other text symbols/emoji) to SVG

In my page content, I have the following:

<li><span class="tick">✔</span> Fully qualified and insured technicians, with over a decade of experience</li>

On the frontend, WordPress changes the ✔ to:

<img draggable="false" role="img" class="emoji" alt="✔" src="https://s.w.org/images/core/emoji/13.0.1/svg/2714.svg">

I can’t change the colour of this SVG image, it is black, and we need it white.

How do I prevent the conversion of emojis to SVG?


I’ve found this answer which says to use:

add_filter( 'emoji_svg_url', '__return_false' );

All that does is break the image but display the alt text in the correct format:

enter image description here

The same code remains:

<img draggable="false" role="img" class="emoji" alt="✔" src="https://s.w.org/images/core/emoji/13.0.1/svg/2714.svg">

Convert image all | Nulled Scripts Download

Premium upgrade:

This XF2 add-on along with the entire collection can be purchased for $25.00 USD. Your Premium upgrade will allow you to download as many XF2 add-ons as you like for one year. Please see the entire collection located in the Resources area at this URL:


Note: all my XF1 add-ons are still 100% free and are supported by donations.


Converts all hot linked images to attachments.

The Convert image all add-on…


go – JSON convert arbitrary struct to another struct

I’m new to Go and here’s some code that converts one struct to another using the json package. My inspiration for this code is I want to separate domain knowledge between the front-end and back-end.

For example, a client hits a RESTful endpoint that will return a JSON-encoded Frontend response. A database search produces a Backend object. I want to return the database result by converting the Backend object to a Frontend object and then have the endpoint return the Frontend response.

In the example below I have a simple example of just the conversion piece. Is what I’m doing brilliant or horrible?

package main

import (

type Backend struct {
    ID string `json:"id,omitempty"`
    Name string `json:"name,omitempty"`
    Value int `json:"value,omitempty"`

func (b *Backend) String() string {
    return fmt.Sprintf("%+v", *b)

type Frontend struct {
    ErrorCode string `json:"error_code,omitempty"`
    Success bool `json:"success,omitempty"`
    Name string `json:"name,omitempty"`
    Value int `json:"value,omitempty"`

func (f *Frontend) String() string {
    return fmt.Sprintf("%+v", *f)

func convert(from interface{}, to interface{}) {
    fmt.Println("From:", from)
    bytes, err := json.Marshal(from)
    if err != nil {
    fmt.Println("To (before):", to)
    err = json.Unmarshal(bytes, to)
    if err != nil {
    fmt.Println("To (after):", to)

func main() {
    from := Backend{
        ID:    "theID",
        Name:  "theName",
        Value: 42,
    to := Frontend{
        ErrorCode: "theErrorCode",
        Success: true,
    convert(from, &to)
    fmt.Println("To (finally):", to)


From: {theID theName 42}
To (before): {ErrorCode:theErrorCode Success:true Name: Value:0}
To (after): {ErrorCode:theErrorCode Success:true Name:theName Value:42}
To (finally): {theErrorCode true theName 42}

How to convert files .IDX .REL and .IDT to mysql

How to export to mysql .IDX .REL and .IDT FILES.

How to convert a rational number like 1.6 to the higher integer number?

How can i convert the number 1.6 to 2, 3.8 to 4 and 1.2 to 2. Any number that has0.0 to be converted to the next number . Round will round the number to the nearest integer but I want to the higher integer except when the number has no decimal portion.

I will create HTML website or convert PSD to HTML5 using css, bootstrap, jquery for $25

I will create HTML website or convert PSD to HTML5 using css, bootstrap, jquery

I will convert Psd/Xd/Sketch/Ai files to HTML5 using css3, bootstrap, javascript & jquery and make sure that our code meets the International Web Standards & W3C standards. Just let me know your requirements, you will get 100% perfect work.

What You Will Get :

  • Fully responsive layout
  • Mobile supported design
  • cross-browser compatibility
  • 100% pixel perfect design
  • W3C validated code
  • Good coding structure
  • All code is hand-typing & fresh
  • SEO optimized code
  • CSS & JQuery effects & animations
  • Slider/Scroller
  • Improvement of UI/UX of your site
  • Form submission or back-end integration (I may need to ask for extra for this)
  • Upload on server
  • Live preview before delivery

Why Hire Me?

  • Full support in future
  • 100% client satisfaction
  • It’s my passion to do Perfect Work

Contact me before placing an order, So that we can know the requirements in detail.


I will edit or convert your pdf files for $5

I will edit or convert your pdf files

You are looking to edit your PDF file? Your PDF is editable, non-editable, or scanned? No problem at all. I’ll edit it as you want.

1 Page edits only.


* Any text edits

* New page adding or Removing pages

* Add or remove your logo, photos, graphics, or anything you want

* Add or remove watermarks, background, header/footer, etc

* Resize or move pages around

* Page numbers adding or removing

* Merge or split pdf files

* Adding or removing passwords


* Very Quick Delivery

* Professional Service

* 16 hours availability for a day

* Long term relationship


c# – Convert to LINQ of a foreach iteration gives compilation error in VS Asp.Net 2019 .Net 4.8

I have a hierarical object (Result->userDataProfilePermissions->dataPermissions->Values->dataObjectValue)

I need to get distinct of dataObjectValue which is a string.

I’ve written the following loop, and it should work fine.

var businesses = new List<BusinessRbac>();
foreach (var udpp in result.userDataProfilePermissions)
                foreach (var dp in udpp.dataPermissions)
                    foreach (var v in dp.values)
                        if (!businesses.Any(x => x.BusinessName == v.dataObjectValue))
                            businesses.Add(new BusinessRbac() { BusinessName = v.dataObjectValue, Regions = new List<RegionRbac>() });

When I convert it to LINQ, I get the following code

 var businesses = (from udpp in result.userDataProfilePermissions
                              from dp in udpp.dataPermissions
                              from v in dp.values
                              where !businesses.Any(x => x.BusinessName == v.dataObjectValue)
                              select new BusinessRbac() { BusinessName = v.dataObjectValue, Regions = 
new List<RegionRbac>() }).ToList();

which is giving compilation error:

CS0841: Cannot user local variable 'businesses' before it is declared.

image quality – How can I automatically convert Sony RAW (ARW) to JPEGs as good as the camera creates itself?

One of the other answers, by @Marco, has a negative score, and that is the one that I ended up preferring:

exiftool -b -PreviewImage IN.ARW > OUT.jpg

As pointed out in the comments, this has the disadvantage of not preserving the full resolution of the image. On my 14-year-old camera, the preview image extracted by ExifTool is 1616 x 1080, not quite the resolution of my monitor, but good enough for a web page. The other option for me, since I didn’t want to use proprietary software, was @xiota’s suggestion to use the command line interface of a GUI tool. The tool that I had been using is DarkTable, and the command-line is very simple:

darktable-cli IN.ARW > OUT.jpg

Perhaps for the future, I should read the user’s manual and try to get the camera to save high-resolution JPEGs, but for my immediate needs, the exiftool extraction option produced a suitable resolution and far superior colors.

It’s unfortunate that, at least in my case, the DarkTable default output is so much lower quality than whatever the software in the camera is producing. However, I guess Sony put a lot of work into their software.

I decided to post this additional answer, because I figured I’m not the only web user who is willing to sacrifice resolution for color quality, and I wanted to make sure that the Marco’s answer didn’t get ignored or deleted.

Output of DarkTable (originally 4288 x 2856):

darktable-cli output

Output of ExifTool (originally 1616 x 1080):

exiftool output

Which one would you want to see on a web page?

Also, before you downvote this answer, note that the OP asked for:

  • “software (for Linux, eventually Windows) that helps me to have similar effect like auto in my camera (convert arw into jpeg)?”

    (Check. This software produces an identical effect to that of the camera’s firmware, because it is extracting the output of that firmware.)

  • “I want software to do that and I want to have jpegs as good as camera can process”

    (The jpegs extracted by exiftool are lower resolution than the camera can process – but aside from that, the quality is the same, because they came from the camera. Other answers produced inferior output for my use case)

  • “I want software that can choose proper settings like the camera does.”

    (In one sense, exiftool is not choosing the settings; in another sense, it is choosing exactly the same settings as the camera…)