When using the pre tag, add a space in the first paragraph, then there will be two blanks in the second line, so how to make them all have only one blank

wrong format

I hope it is the following format. How can I change it?

    

    MACnpmnpm
    
    

    MACnpmnpm
    npm install vue-router

    Windowsnpmcnpm
    cnpm install vue-router -save
    cnpm install vuex --save

    npm install  --registry=https://registry.npm.taobao.org common-helper-es6
    npm install  --registry=https://registry.npm.taobao.org seneca --save-dev
    npm install -g nrm --registry=https://registry.npm.taobao.org

    
    
        let test = arg => { }
        console.log(arg);
    

Oct.09,2021

pre add a style white-space:pre-line try

< hr >

ps: seems to default to the top

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3fa07-2c48e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3fa07-2c48e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?