<commit_before>﻿// A '.tsx' file enables JSX support in the TypeScript compiler, 
// for more information see the following page on the TypeScript wiki:
// https://github.com/Microsoft/TypeScript/wiki/JSX

import * as React from 'react';
import * as Ubb from './Core';

/**
 * 处理 [quote] 标签的处理器。
 */
export class QuoteTagHandler extends Ubb.RecursiveTagHandler {

	get supportedTagNames(): string[] { return ['quote', 'quotex'] };

    execCore(innerContent: React.ReactNode, tagData: Ubb.UbbTagData, context: Ubb.UbbCodeContext): React.ReactNode {
 
		const style = {

			padding: '13px 19px 13px 17px',
			backgroundColor: '#F5FAFF',
			border: '1px solid rgb(204,204,204)',
            marginLeft: '30px',
            marginRight: '30px',
            marginTop: '30px',
            maxHeight: '800px',
            overflowY:'auto' as 'auto'
            };

		return <div  style={style}>{innerContent}</div>;
	}
}<commit_msg>调整引用标签的样式<commit_after>﻿// A '.tsx' file enables JSX support in the TypeScript compiler, 
// for more information see the following page on the TypeScript wiki:
// https://github.com/Microsoft/TypeScript/wiki/JSX

import * as React from 'react';
import * as Ubb from './Core';

/**
 * 处理 [quote] 标签的处理器。
 */
export class QuoteTagHandler extends Ubb.RecursiveTagHandler {

	get supportedTagNames(): string[] { return ['quote', 'quotex'] };

    execCore(innerContent: React.ReactNode, tagData: Ubb.UbbTagData, context: Ubb.UbbCodeContext): React.ReactNode {
 
		const style: React.CSSProperties = {
			padding: '13px 19px 13px 17px',
			backgroundColor: '#F5FAFF',
            border: '1px solid rgb(204,204,204)',
            marginTop: '10px',
            maxHeight: '800px',
            overflowY: 'auto'
        };
        
		return <div style={style}>{innerContent}</div>;
	}
}
{'fraction_non_alphanumeric': 0.13606194690265486, 'fraction_numerical': 0.028761061946902654, 'mean_word_length': 3.1972157772621808, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7548702', 'n_tokens_mistral': 642, 'n_tokens_neox': 593, 'n_words': 158}