diff --git a/__tests__/ExpensiMark-HTMLToText-test.js b/__tests__/ExpensiMark-HTMLToText-test.js
index 02bcd523..7a65d877 100644
--- a/__tests__/ExpensiMark-HTMLToText-test.js
+++ b/__tests__/ExpensiMark-HTMLToText-test.js
@@ -149,5 +149,5 @@ test('Mention html to text', () => {
test('Test replacement for tags', () => {
const testString = '';
- expect(parser.htmlToText(testString)).toBe('(image of: Image description)');
+ expect(parser.htmlToText(testString)).toBe('[Attachment]');
});
diff --git a/lib/ExpensiMark.js b/lib/ExpensiMark.js
index b70228bb..2d47dd61 100644
--- a/lib/ExpensiMark.js
+++ b/lib/ExpensiMark.js
@@ -476,7 +476,7 @@ export default class ExpensiMark {
{
name: 'image',
regex: /<]*src\s*=\s*(['"])(.*?)\1(?:[^><]*alt\s*=\s*(['"])(.*?)\3)?[^><]*>*(?![^<][\s\S]*?(<\/pre>|<\/code>))/gi,
- replacement: '(image of: $4)',
+ replacement: '[Attachment]',
},
{
name: 'stripTag',