Comment

Comment by raggi

You're warned:

    const messageText = inputTextBox.value.replace(/<\/?[^>]+(>|$)/g, "");

    var $newdiv = $('<div class="' + messageDivClass + '"><p>' + messageText + '<p/><div/>').css({
        'opacity': '0.95'
    });
parent raggi 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton